diff --git a/src/components/inputs/MiscellaneousLight.vue b/src/components/inputs/MiscellaneousLight.vue
index 2ccd2dbde..57eee47b1 100644
--- a/src/components/inputs/MiscellaneousLight.vue
+++ b/src/components/inputs/MiscellaneousLight.vue
@@ -10,18 +10,16 @@
{{ mdiLightbulbOutline }}
{{ name }}
-
+
+ @click="boolDialog = true" />
-
-
-
+
+ @click="usePreset(preset)" />
{{ preset.name }}
-
+
@@ -157,6 +155,7 @@ interface ColorData {
@Component({
components: {
ColorPicker,
+ MiscellaneousLight: () => import('@/components/inputs/MiscellaneousLight.vue'),
},
})
export default class MiscellaneousLight extends Mixins(BaseMixin) {
@@ -344,6 +343,8 @@ export default class MiscellaneousLight extends Mixins(BaseMixin) {
}
get groups() {
+ if (!this.root) return []
+
return (
this.$store.getters['gui/miscellaneous/getEntryLightgroups']({
type: this.object.type,