fix(editor): Add secondary icon to menu items (#6351)

* fix(editor): Add secondary icon to menu items

* empty
This commit is contained in:
Csaba Tuncsik
2023-06-02 12:00:05 +02:00
committed by GitHub
parent f88029f308
commit 3dd260168e
4 changed files with 23 additions and 0 deletions

View File

@@ -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],