diff --git a/app/command_shortcuts.go b/app/command_shortcuts.go index 547d8155f3..9eefb698ee 100644 --- a/app/command_shortcuts.go +++ b/app/command_shortcuts.go @@ -37,7 +37,7 @@ func (me *ShortcutsProvider) GetCommand(T goi18n.TranslateFunc) *model.Command { } func (me *ShortcutsProvider) DoCommand(args *model.CommandArgs, message string) *model.CommandResponse { - shortcutIds := [29]string{ + shortcutIds := [...]string{ "api.command_shortcuts.header", // Nav shortcuts "api.command_shortcuts.nav.header",