fix(editor): Update design system menu item component (#6659)

This commit is contained in:
Csaba Tuncsik
2023-07-13 13:27:25 +02:00
committed by GitHub
parent e6a81f0008
commit 84466e9833
4 changed files with 40 additions and 9 deletions

View File

@@ -202,10 +202,11 @@ export default defineComponent({
};
if (this.sourceControlStore.preferences.branchReadOnly) {
workflows.secondaryIcon = { name: 'lock' };
workflows.tooltip = {
content: this.$locale.baseText('mainSidebar.workflows.readOnlyEnv.tooltip'),
bindTo: 'secondaryIcon',
workflows.secondaryIcon = {
name: 'lock',
tooltip: {
content: this.$locale.baseText('mainSidebar.workflows.readOnlyEnv.tooltip'),
},
};
}