forked from mirrors/homebox
feat: locations tree viewer (#248)
* location tree API * test fixes * initial tree location elements * locations tree page * update meta-data * code-gen * store item display preferences * introduce basic table/card view elements * codegen * set parent location during location creation * add item support for tree query * refactor tree view * wip: location selector improvements * type gen * rename items -> search * remove various log statements * fix markdown rendering for description * update location selectors * fix tests * fix currency tests * formatting
This commit is contained in:
parent
4d220cdd9c
commit
3d295b5132
33 changed files with 1119 additions and 79 deletions
|
@ -158,12 +158,19 @@
|
|||
to: "/profile",
|
||||
},
|
||||
{
|
||||
icon: "mdi-document",
|
||||
icon: "mdi-magnify",
|
||||
id: 3,
|
||||
active: computed(() => route.path === "/items"),
|
||||
name: "Items",
|
||||
name: "Search",
|
||||
to: "/items",
|
||||
},
|
||||
{
|
||||
icon: "mdi-map-marker",
|
||||
id: 4,
|
||||
active: computed(() => route.path === "/locations"),
|
||||
name: "Locations",
|
||||
to: "/locations",
|
||||
},
|
||||
{
|
||||
icon: "mdi-database",
|
||||
id: 2,
|
||||
|
@ -172,14 +179,6 @@
|
|||
modals.import = true;
|
||||
},
|
||||
},
|
||||
// {
|
||||
// icon: "mdi-database-export",
|
||||
// id: 5,
|
||||
// name: "Export",
|
||||
// action: () => {
|
||||
// console.log("Export");
|
||||
// },
|
||||
// },
|
||||
];
|
||||
|
||||
const labelStore = useLabelStore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue