mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-30 04:25:40 +00:00
19 lines
363 B
Vue
19 lines
363 B
Vue
|
<script setup lang="ts">
|
||
|
import { TreeItem } from "~~/lib/api/types/data-contracts";
|
||
|
|
||
|
type Props = {
|
||
|
locs: TreeItem[];
|
||
|
treeId: string;
|
||
|
};
|
||
|
|
||
|
defineProps<Props>();
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div class="p-4 border-2 root">
|
||
|
<LocationTreeNode v-for="item in locs" :key="item.id" :item="item" :tree-id="treeId" />
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style></style>
|