hide 000-000 values

This commit is contained in:
Hayden 2022-11-13 13:59:05 -09:00
parent a62eff4193
commit c763178bb4
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -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