edit ledger

This commit is contained in:
Sirttas
2026-05-18 21:19:01 +02:00
parent 02466eea14
commit 3ca0cf23f1
5 changed files with 402 additions and 75 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import {COMBINING_LEDGER, Ledger} from "@/ledger/ledger.ts";
import {isCombining, Ledger} from "@/ledger/ledger.ts";
import {FolderOpenIcon} from '@heroicons/vue/24/outline';
interface Props {
@@ -12,7 +12,7 @@ const props = defineProps<Props>();
<template>
<div class="flex">
<FolderOpenIcon v-if="ledger.type === COMBINING_LEDGER" class="w-4 me-1" />
<FolderOpenIcon v-if="isCombining(ledger)" class="w-4 me-1" />
<div v-else class="w-4 me-1"/>
<span>{{ ledger.name }}</span>
</div>