diff --git a/src/store/storage/standalone.js b/src/store/storage/standalone.js index d567ae8..55477bc 100644 --- a/src/store/storage/standalone.js +++ b/src/store/storage/standalone.js @@ -182,7 +182,7 @@ const getters = { return getters.getCurrentObjectUuids.map(uuid => state.objects[getters.indexByUuid[uuid]]).filter(Boolean); }, getCurrentObjectsByType: (state, getters) => (type) => { - if (type === undefined) { + if (type === undefined || type === null) { return getters.getCurrentObjects; } else if (typeof type === "string") { return (getters.indizesCurrentByType[type] || []).map(index => state.objects[index]).filter(Boolean); diff --git a/src/toolkit/inline/OtkChooseCreateProperty.vue b/src/toolkit/inline/OtkChooseCreateProperty.vue index ec27144..95dd47e 100644 --- a/src/toolkit/inline/OtkChooseCreateProperty.vue +++ b/src/toolkit/inline/OtkChooseCreateProperty.vue @@ -19,15 +19,7 @@ return-object @input="selectProperty" > -