rename leger label

This commit is contained in:
Sirttas
2026-05-17 21:14:04 +02:00
parent 65bb13aa3b
commit f4b590bc3b
4 changed files with 5 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
<script setup lang="ts">
import {COMBINING_LEDGER, Ledger} from "@/ledger/ledger.ts";
import {FolderOpenIcon} from '@heroicons/vue/24/outline';
interface Props {
ledger: Ledger;
}
const props = defineProps<Props>();
</script>
<template>
<div class="flex">
<FolderOpenIcon v-if="ledger.type === COMBINING_LEDGER" class="w-4 me-1" />
<div v-else class="w-4 me-1"/>
<span>{{ ledger.name }}</span>
</div>
</template>