fix(editor): Add secondary icon to menu items (#6351)
* fix(editor): Add secondary icon to menu items * empty
This commit is contained in:
@@ -216,6 +216,9 @@ export default defineComponent({
|
||||
{
|
||||
id: 'workflows',
|
||||
icon: 'network-wired',
|
||||
secondaryIcon: this.versionControlStore.preferences.branchReadOnly
|
||||
? { name: 'lock' }
|
||||
: undefined,
|
||||
label: this.$locale.baseText('mainSidebar.workflows'),
|
||||
position: 'top',
|
||||
activateOnRouteNames: [VIEWS.WORKFLOWS],
|
||||
|
||||
@@ -81,6 +81,7 @@ import {
|
||||
faLink,
|
||||
faList,
|
||||
faLightbulb,
|
||||
faLock,
|
||||
faMapSigns,
|
||||
faMousePointer,
|
||||
faNetworkWired,
|
||||
@@ -219,6 +220,7 @@ addIcon(faKey);
|
||||
addIcon(faLink);
|
||||
addIcon(faList);
|
||||
addIcon(faLightbulb);
|
||||
addIcon(faLock);
|
||||
addIcon(faMapSigns);
|
||||
addIcon(faMousePointer);
|
||||
addIcon(faNetworkWired);
|
||||
|
||||
Reference in New Issue
Block a user