refactor: Add telemetry to upgrade paths (no-changelog) (#6313)

This commit is contained in:
Iván Ovejero
2023-05-30 15:49:27 +02:00
committed by GitHub
parent 54e3838dae
commit f91d36cd30
7 changed files with 50 additions and 10 deletions

View File

@@ -162,6 +162,7 @@ import { getWorkflowPermissions } from '@/permissions';
import { useUsersStore } from '@/stores/users.store';
import { useUsageStore } from '@/stores/usage.store';
import { createEventBus } from 'n8n-design-system';
import { useCloudPlanStore } from '@/stores';
const hasChanged = (prev: string[], curr: string[]) => {
if (prev.length !== curr.length) {
@@ -212,6 +213,7 @@ export default defineComponent({
useUsageStore,
useWorkflowsStore,
useUsersStore,
useCloudPlanStore,
),
currentUser(): IUser | null {
return this.usersStore.currentUser;