ledger balance

This commit is contained in:
Sirttas
2026-05-23 14:29:25 +02:00
parent 2970f48e65
commit 4fbced2c70
5 changed files with 121 additions and 18 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ const open = () => {
}
const canSave = computed(() => name.value.trim().length > 0);
const isCreating = computed(() => props.ledgerId)
const isCreating = computed(() => props.ledgerId === undefined || props.ledgerId.length === 0);
const title = computed(() => {
if (isCreating.value) {
return `Creating ${type.value === LedgerTypes.Main ? 'Main' : 'Combined'} Ledger`