Skip to content

Commit 31f7b8c

Browse files
authored
Merge pull request #216 from Geode-solutions/fix/undefined_allowed_objects
fix(AllowedObjects): fixed bug where truncate function was looking fo…
2 parents bcd5f2b + 5b43249 commit 31f7b8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ObjectSelector.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<v-img
2525
:src="geode_objects[key].image"
2626
cover
27-
:class="!value['is_loadable'] ? 'disabled' : ''"
27+
:class="!value['is_loadable'] ? 'disabled' : undefined"
2828
/>
2929
</v-card>
3030
</span>
@@ -139,8 +139,8 @@
139139
toggle_loading()
140140
}
141141
142-
function set_geode_object(input_geode_object) {
143-
if (input_geode_object != "") {
142+
function set_geode_object(input_geode_object) {
143+
if (input_geode_object) {
144144
emit("update_values", { input_geode_object })
145145
emit("increment_step")
146146
}

0 commit comments

Comments
 (0)