Skip to content

Commit 836bb9a

Browse files
committed
fix: disable select component if single option
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
1 parent 3cd4e11 commit 836bb9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Properties/PropertySelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default {
110110
111111
// is there only one option available
112112
isSingleOption() {
113-
return this.propModel.options.length <= 1 && this.options.length <= 1
113+
return this.selectableOptions.length <= 1
114114
},
115115
116116
// matching value to the options we provide

0 commit comments

Comments
 (0)