Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
enable color mapping feature
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianjost committed Nov 19, 2019
1 parent 4a3e84f commit 3199733
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Settings/components/editLamp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
:options="availableLampTypes"
/>
-->
<SLSelect
v-model="value.channelMap"
label="Channel Mapping"
placeholder="RGB"
:options="availableChannelMappings"
hint="RGB => IO1: Red, IO2: Blue, ..."
/>
-->

<SLInput
v-model="tagString"
Expand All @@ -58,13 +58,13 @@

<script>
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: {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3199733

Please sign in to comment.