feat: Check new n8n version at start (no-changelog) (#5542)

check new version at start

Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
romainminaud 2023-02-23 11:43:03 +01:00 committed by GitHub
parent 7c517cb530
commit a53f3998a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@
<script lang="ts">
import { showMessage } from '@/mixins/showMessage';
import { newVersions } from '@/mixins/newVersions';
import mixins from 'vue-typed-mixins';
import SettingsView from './SettingsView.vue';
@ -147,7 +148,7 @@ const StatusFilter = {
ALL: '',
};
export default mixins(showMessage, debounceHelper).extend({
export default mixins(showMessage, debounceHelper, newVersions).extend({
name: 'WorkflowsView',
components: {
ResourcesListLayout,
@ -271,6 +272,7 @@ export default mixins(showMessage, debounceHelper).extend({
},
},
mounted() {
this.checkForNewVersions();
this.usersStore.showPersonalizationSurvey();
},
});