diff --git a/src/views/desktop/categories/list/dialogs/EditDialog.vue b/src/views/desktop/categories/list/dialogs/EditDialog.vue index 3cdaa1aa..44950db6 100644 --- a/src/views/desktop/categories/list/dialogs/EditDialog.vue +++ b/src/views/desktop/categories/list/dialogs/EditDialog.vue @@ -110,7 +110,7 @@ import { TransactionCategory } from '@/models/transaction_category.ts'; import { generateRandomUUID } from '@/lib/misc.ts'; -interface TransactionCategoryEditRespose { +interface TransactionCategoryEditResponse { message: string; } @@ -140,10 +140,10 @@ const snackbar = useTemplateRef('snackbar'); const showState = ref(false); -let resolveFunc: ((value: TransactionCategoryEditRespose) => void) | null = null; +let resolveFunc: ((value: TransactionCategoryEditResponse) => void) | null = null; let rejectFunc: ((reason?: unknown) => void) | null = null; -function open(options: { id?: string; parentId?: string; type?: CategoryType; currentCategory?: TransactionCategory }): Promise { +function open(options: { id?: string; parentId?: string; type?: CategoryType; currentCategory?: TransactionCategory }): Promise { showState.value = true; loading.value = true; submitting.value = false;