mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Fix route component caching, incorrect use of array reduce method and enable WF history feature (#7434)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
@@ -20,9 +20,10 @@
|
||||
</div>
|
||||
<div id="content" :class="$style.content">
|
||||
<router-view v-slot="{ Component }">
|
||||
<keep-alive include="NodeView" :max="1">
|
||||
<keep-alive v-if="$route.meta.keepWorkflowAlive" include="NodeView" :max="1">
|
||||
<component :is="Component" />
|
||||
</keep-alive>
|
||||
<component v-else :is="Component" />
|
||||
</router-view>
|
||||
</div>
|
||||
<Modals />
|
||||
@@ -257,7 +258,7 @@ export default defineComponent({
|
||||
void this.postAuthenticate();
|
||||
}
|
||||
},
|
||||
async $route(route) {
|
||||
async $route() {
|
||||
await this.initSettings();
|
||||
await this.redirectIfNecessary();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user