Hide custom fields that are not supposed to appear in the UI.
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
<div v-else>No checks</div>
|
||||
|
||||
|
||||
<p class="text-subtitle2 text-bold q-mt-xl">Custom Fields</p>
|
||||
<span class="text-subtitle2 text-bold block q-mt-xl">Custom Fields</span>
|
||||
<q-list dense>
|
||||
|
||||
<q-item v-for="(field, i) in customFields" :key="field + i">
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
const ret = [];
|
||||
for (const customField of summary.value.custom_fields) {
|
||||
const definition = customFieldsDefinitions.value.find((def) => def.id === customField.field)
|
||||
if (definition) {
|
||||
if (definition && !definition.hide_in_ui) {
|
||||
ret.push({
|
||||
name: definition.name,
|
||||
value: customField.value,
|
||||
|
||||
Reference in New Issue
Block a user