refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-28 09:49:58 +01:00
committed by GitHub
parent 639afcd7a5
commit 68cff4c59e
304 changed files with 3428 additions and 3516 deletions

View File

@@ -1,12 +1,12 @@
<template>
<div>
<div :class="{ 'main-header': true, expanded: !this.uiStore.sidebarMenuCollapsed }">
<div :class="{ 'main-header': true, expanded: !uiStore.sidebarMenuCollapsed }">
<div v-show="!hideMenuBar" class="top-menu">
<WorkflowDetails :readOnly="readOnly" />
<tab-bar
<WorkflowDetails :read-only="readOnly" />
<TabBar
v-if="onWorkflowPage"
:items="tabBarItems"
:activeTab="activeHeaderTab"
:active-tab="activeHeaderTab"
@select="onTabSelected"
/>
</div>
@@ -89,15 +89,15 @@ export default defineComponent({
return this.sourceControlStore.preferences.branchReadOnly;
},
},
mounted() {
this.dirtyState = this.uiStore.stateIsDirty;
this.syncTabsWithRoute(this.$route);
},
watch: {
$route(to, from) {
this.syncTabsWithRoute(to);
},
},
mounted() {
this.dirtyState = this.uiStore.stateIsDirty;
this.syncTabsWithRoute(this.$route);
},
methods: {
syncTabsWithRoute(route: Route): void {
if (