fix(editor): Fix Luxon date parsing of ExecutionsUsage component (#6333)

* fix(editor): Fix luxon date parsing of ExecutionsUsage component

* Fix wrong indent
This commit is contained in:
OlegIvaniv
2023-05-29 13:29:07 +02:00
committed by GitHub
parent 0e4c615d0d
commit 8f0ff460b1
3 changed files with 8 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ export const useCloudPlanStore = defineStore('cloudPlan', () => {
return state.usage?.executions >= state.data?.monthlyExecutionsLimit;
});
const getOwnerCurrentPLan = async () => {
const getOwnerCurrentPlan = async () => {
const cloudUserId = settingsStore.settings.n8nMetadata?.userId;
const hasCloudPlan =
usersStore.currentUser?.isOwner && settingsStore.isCloudDeployment && cloudUserId;
@@ -72,7 +72,7 @@ export const useCloudPlanStore = defineStore('cloudPlan', () => {
return {
state,
getOwnerCurrentPLan,
getOwnerCurrentPlan,
getInstanceCurrentUsage,
userIsTrialing,
currentPlanData,