diff --git a/src/pages/Settings/components/editLamp.vue b/src/pages/Settings/components/editLamp.vue index 0d4ba0c79..98d704d77 100644 --- a/src/pages/Settings/components/editLamp.vue +++ b/src/pages/Settings/components/editLamp.vue @@ -32,6 +32,7 @@ :options="availableLampTypes" /> + --> - --> import Input from "@/components/picker/input"; -// import Select from "@/components/picker/select"; +import Select from "@/components/picker/select"; import IconPicker from "@/components/picker/iconPicker"; export default { components: { SLInput: Input, - // SLSelect: Select, + SLSelect: Select, IconPicker, }, props: { @@ -113,7 +113,7 @@ export default { Switch: Switch, }; return ( - lampTypes[this.value.lamptype] || [ + lampTypes[this.value.lamptype || "RGB"] || [ { label: "Please Select the Type first", disabled: true,