fix(editor): Usage and plans page on Desktop (#5045)

This commit is contained in:
Csaba Tuncsik
2022-12-28 17:07:34 +01:00
committed by GitHub
parent 16bd7610fc
commit 26e2321a71
3 changed files with 128 additions and 100 deletions

View File

@@ -8,7 +8,7 @@ import { useUsersStore } from '@/stores/users';
export type UsageTelemetry = {
instance_id: string;
action: 'view_plans' | 'manage_plan' | 'add_activation_key';
action: 'view_plans' | 'manage_plan' | 'add_activation_key' | 'desktop_view_plans';
plan_name_current: string;
usage: number;
quota: number;
@@ -120,5 +120,6 @@ export const useUsageStore = defineStore('usage', () => {
usage: executionCount.value,
quota: executionLimit.value,
})),
isDesktop: computed(() => settingsStore.isDesktopDeployment),
};
});