From c27376c89bded5313f5d801e631b516fc3ddfc0f Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 26 Jul 2021 19:16:38 +0200 Subject: [PATCH] fix: disable merging and rely on type being present --- cli/app.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cli/app.go b/cli/app.go index 031cde93c..d4559e616 100644 --- a/cli/app.go +++ b/cli/app.go @@ -62,15 +62,10 @@ var appListCommand = &cli.Command{ sort.Sort(config.ByServer(apps)) tableCol := []string{"Server", "Type", "Name"} table := createTable(tableCol) + table.SetAutoMergeCellsByColumnIndex([]int{0}) for _, app := range apps { - if app.Type == Type || Type == "" { - // If type flag is set, check for it, if not, Type == "" - tableRow := []string{app.File.Server, app.Type, app.Name} - table.Append(tableRow) - } - + table.Append([]string{app.File.Server, app.Type, app.Name}) } - table.SetAutoMergeCells(true) table.Render() return nil },