[MM-47778] Remove Sign into another Server menu item when no servers exist (#2301)
This commit is contained in:
@@ -45,7 +45,7 @@ export function createTemplate(config: Config, updateManager: UpdateManager) {
|
||||
},
|
||||
});
|
||||
|
||||
if (config.data?.enableServerManagement === true) {
|
||||
if (config.data?.enableServerManagement === true && config.data?.teams.length > 0) {
|
||||
platformAppMenu.push({
|
||||
label: localizeMessage('main.menus.app.file.signInToAnotherServer', 'Sign in to Another Server'),
|
||||
click() {
|
||||
|
Reference in New Issue
Block a user