mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-05 04:15:25 +01:00
hide 000-000 values
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user