From b6098dc9238165a4f9b02ed0eb9a90133d088fd2 Mon Sep 17 00:00:00 2001 From: Matthew White Date: Sat, 7 Dec 2024 13:32:04 -0500 Subject: [PATCH] Add DlData component for arbitrary key/value data from user (#1074) --- src/components/dl-data.vue | 55 ++++++++++++++++++++++++++++++++++ src/components/entity/data.vue | 22 ++------------ 2 files changed, 57 insertions(+), 20 deletions(-) create mode 100644 src/components/dl-data.vue diff --git a/src/components/dl-data.vue b/src/components/dl-data.vue new file mode 100644 index 000000000..9edb0772c --- /dev/null +++ b/src/components/dl-data.vue @@ -0,0 +1,55 @@ + + + + + + + + diff --git a/src/components/entity/data.vue b/src/components/entity/data.vue index bcd73977f..8ee7d4926 100644 --- a/src/components/entity/data.vue +++ b/src/components/entity/data.vue @@ -22,11 +22,7 @@ except according to the terms contained in the LICENSE file.
-
{{ name }}
-
- {{ $t('common.emptyValue') }} -
-
{{ data[name] }}
+
@@ -36,6 +32,7 @@ except according to the terms contained in the LICENSE file.