Skip to content

Commit

Permalink
Display improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop committed Jan 24, 2024
1 parent 4d09eac commit 8c4ccca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/YetiDFIQApproachTemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ul class="ml-5">
<li class="mb-2" v-for="ref in description.references"><span v-html="markdownifyText(ref)"></span></li>
</ul>
<ul class="ml-5" v-if="description.references_internal.length > 0">
<ul class="ml-5" v-if="description.references_internal?.length > 0">
<li class="mb-2" v-for="ref in description.references_internal">
<span v-html="markdownifyText(ref)"></span>
</li>
Expand Down
5 changes: 3 additions & 2 deletions src/definitions/dfiqDefinitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ export const DFIQ_TYPES = [
{ field: "name", type: "text", label: "Name", displayList: true, editable: true },
{ field: "dfiq_version", type: "text", label: "DFIQ Version", displayList: false, editable: true },
{ field: "dfiq_tags", type: "list", label: "DFIQ tags", displayList: true, editable: true },
{ field: "contributors", type: "list", label: "Contributors", displayList: false, editable: true },
{ field: "parent_ids", type: "list", label: "Parent IDs", displayList: true, editable: true },
{ field: "description", type: "longtext", label: "Description", displayList: false, editable: true },
{ field: "contributors", type: "list", label: "Contributors", displayList: false, editable: true },
{ field: "modified", type: "date", label: "Modified on", displayList: false, editable: false },
{ field: "created", type: "date", label: "Created on", displayList: true, editable: false, width: "200px" }
],
Expand All @@ -37,6 +38,7 @@ export const DFIQ_TYPES = [
{ field: "name", type: "text", label: "Name", displayList: true, editable: true },
{ field: "dfiq_version", type: "text", label: "DFIQ Version", displayList: false, editable: true },
{ field: "dfiq_tags", type: "list", label: "DFIQ tags", displayList: true, editable: true },
{ field: "parent_ids", type: "list", label: "Parent IDs", displayList: true, editable: true },
{ field: "contributors", type: "list", label: "Contributors", displayList: false, editable: true },
{ field: "description", type: "longtext", label: "Description", displayList: false, editable: true },
{ field: "modified", type: "date", label: "Modified on", displayList: false, editable: false },
Expand All @@ -53,7 +55,6 @@ export const DFIQ_TYPES = [
{ field: "dfiq_version", type: "text", label: "DFIQ Version", displayList: false, editable: true },
{ field: "dfiq_tags", type: "list", label: "DFIQ tags", displayList: true, editable: true },
{ field: "contributors", type: "list", label: "Contributors", displayList: false, editable: true },
// { field: "description", type: "longtext", label: "Description", displayList: false, editable: false },
{ field: "modified", type: "date", label: "Modified on", displayList: false, editable: false },
{ field: "created", type: "date", label: "Created on", displayList: true, editable: false, width: "200px" }
],
Expand Down

0 comments on commit 8c4ccca

Please sign in to comment.