feat(mgmt): mgmt extention no longer depends on UI being enabled (#1728)

It is now enabled based only on search configuration

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2023-08-26 23:32:41 +03:00
committed by GitHub
parent 289acfabbd
commit 28858f695f
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ func (c *Config) AreUserPrefsEnabled() bool {
}
func (c *Config) IsMgmtEnabled() bool {
return c.IsSearchEnabled() && c.IsUIEnabled()
return c.IsSearchEnabled()
}
func (c *Config) IsImageTrustEnabled() bool {