mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-24 17:45:41 +00:00
hide 000-000 values
This commit is contained in:
parent
a62eff4193
commit
c763178bb4
1 changed files with 14 additions and 4 deletions
|
@ -70,6 +70,19 @@
|
|||
);
|
||||
});
|
||||
|
||||
const assetID = computed<Details>(() => {
|
||||
if (item.value?.assetId === "000-000") {
|
||||
return [];
|
||||
}
|
||||
|
||||
return [
|
||||
{
|
||||
name: "Asset ID",
|
||||
text: item.value?.assetId,
|
||||
},
|
||||
];
|
||||
});
|
||||
|
||||
const itemDetails = computed<Details>(() => {
|
||||
return [
|
||||
{
|
||||
|
@ -100,10 +113,7 @@
|
|||
name: "Notes",
|
||||
text: item.value?.notes,
|
||||
},
|
||||
{
|
||||
name: "Asset ID",
|
||||
text: item.value?.assetId,
|
||||
},
|
||||
...assetID.value,
|
||||
...item.value.fields.map(field => {
|
||||
/**
|
||||
* Support Special URL Syntax
|
||||
|
|
Loading…
Reference in a new issue