From 19ff961c62234c2310044faee2d02e3c4889f07d Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Wed, 23 Feb 2022 10:27:09 +0100 Subject: [PATCH] Fix docs, add hideNamespaceListLink to app settings --- system/types/app_settings.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/system/types/app_settings.go b/system/types/app_settings.go index 8a87b91ad..3358d39e7 100644 --- a/system/types/app_settings.go +++ b/system/types/app_settings.go @@ -163,12 +163,15 @@ type ( } `json:"auth"` Compose struct { - // UI related settings - // (placeholder) + // Compose UI settings UI struct { + // Sidebar specific settings Sidebar struct { - // Specific sidebar settings for compose, such as namespace list link + // Hide namespace list HideNamespaceList bool `json:"hideNamespaceList"` + + // Hide namespace link at the end of the list + HideNamespaceListLink bool `json:"hideNamespaceListLink"` } `kv:"sidebar,final" json:"sidebar"` } `kv:"ui" json:"ui"`