Skip to content

Commit

Permalink
incus: Fix display of current project in projects list
Browse files Browse the repository at this point in the history
Signed-off-by: montag451 <montag451@laposte.net>
  • Loading branch information
montag451 committed Oct 18, 2024
1 parent 12a63af commit ad7cfce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/incus/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ func (c *cmdProjectList) Run(cmd *cobra.Command, args []string) error {
for _, project := range projects {
line := []string{}
for _, column := range columns {
if column.Name == "NAME" {
if column.Name == i18n.G("NAME") {
if project.Name == info.Project {
project.Name = fmt.Sprintf("%s (%s)", project.Name, i18n.G("current"))
}
Expand Down

0 comments on commit ad7cfce

Please sign in to comment.