Show all configured fields in detail view (was hiding empty ones)
This commit is contained in:
parent
c6a32de2ba
commit
942eae98db
@ -118,9 +118,7 @@ export default function DetailViewPanel({ viewId, instanceId }: Props) {
|
||||
|
||||
for (const f of fields) {
|
||||
if (sys.has(f.field_key) || SKIP_KEYS.has(f.field_key)) continue;
|
||||
const v = data[f.field_key];
|
||||
const g = classify(f.field_key);
|
||||
if (g !== "hero" && (v == null || v === "")) continue;
|
||||
groups[g].push(f);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user