ledger balance
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user