mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Only fetch new versions at app launch (#5647)
only call nextVersions once
This commit is contained in:
@@ -46,8 +46,9 @@ import { useRootStore } from './stores/n8nRootStore';
|
||||
import { useTemplatesStore } from './stores/templates';
|
||||
import { useNodeTypesStore } from './stores/nodeTypes';
|
||||
import { historyHelper } from '@/mixins/history';
|
||||
import { newVersions } from '@/mixins/newVersions';
|
||||
|
||||
export default mixins(showMessage, userHelpers, restApi, historyHelper).extend({
|
||||
export default mixins(newVersions, showMessage, userHelpers, restApi, historyHelper).extend({
|
||||
name: 'App',
|
||||
components: {
|
||||
LoadingView,
|
||||
@@ -186,6 +187,7 @@ export default mixins(showMessage, userHelpers, restApi, historyHelper).extend({
|
||||
this.logHiringBanner();
|
||||
this.authenticate();
|
||||
this.redirectIfNecessary();
|
||||
this.checkForNewVersions();
|
||||
|
||||
this.loading = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user