We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8174c8b commit 417ed6fCopy full SHA for 417ed6f
src/components/spec-document/schema-model/property-fields/PropertyEnum.vue
@@ -5,14 +5,18 @@
5
>
6
<span class="field-title">Allowed values:</span>
7
<span class="enum-field-list">
8
- <span
+ <template
9
v-for="value in enumValueList"
10
- :key="value?.toString()"
11
- class="property-field-enum-value"
12
- :data-testid="`property-field-enum-value-${value}`"
13
14
- {{ value }}
15
- </span>
+ <span
+ v-if="value"
+ :key="value?.toString()"
+ class="property-field-enum-value"
+ :data-testid="`property-field-enum-value-${value}`"
16
+ >
17
+ {{ value }}
18
+ </span>
19
+ </template>
20
</span>
21
</p>
22
</template>
0 commit comments