mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
19 lines
368 B
Vue
19 lines
368 B
Vue
<script setup lang="ts">
|
|
import type { TreeItem } from "~~/lib/api/types/data-contracts";
|
|
|
|
type Props = {
|
|
locs: TreeItem[];
|
|
treeId: string;
|
|
};
|
|
|
|
defineProps<Props>();
|
|
</script>
|
|
|
|
<template>
|
|
<div class="root border-2 p-4">
|
|
<LocationTreeNode v-for="item in locs" :key="item.id" :item="item" :tree-id="treeId" />
|
|
</div>
|
|
</template>
|
|
|
|
<style></style>
|