mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-25 01:55:43 +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>(() => {
|
const itemDetails = computed<Details>(() => {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
@ -100,10 +113,7 @@
|
||||||
name: "Notes",
|
name: "Notes",
|
||||||
text: item.value?.notes,
|
text: item.value?.notes,
|
||||||
},
|
},
|
||||||
{
|
...assetID.value,
|
||||||
name: "Asset ID",
|
|
||||||
text: item.value?.assetId,
|
|
||||||
},
|
|
||||||
...item.value.fields.map(field => {
|
...item.value.fields.map(field => {
|
||||||
/**
|
/**
|
||||||
* Support Special URL Syntax
|
* Support Special URL Syntax
|
||||||
|
|
Loading…
Reference in a new issue