Skip to content

Commit 8364bbb

Browse files
committed
make use of variable instead of accessing value again
1 parent 469de32 commit 8364bbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meta_configurator/src/components/panels/schema-diagram/SchemaEnumNode.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const isEnumTruncated = computed(() => {
131131
<hr />
132132

133133
<div v-if="settings.schemaDiagram.showEnumValues" v-for="(value,index) in props.data!.values">
134-
<p v-if="index < settings.schemaDiagram.maxEnumValuesToShow">
134+
<p v-if="index < maxEnumValuesToShow">
135135
{{ value }}
136136
</p>
137137
</div>

0 commit comments

Comments
 (0)