Merge branch '94-curtains-creation-does-not-supply-a-default-name' into 'dev'

Resolve "curtains creation does not supply a default name"

Closes #94

See merge request sa4-2020/the-sanmarinoes/frontend!116
This commit is contained in:
Claudio Maggioni 2020-05-04 14:40:49 +02:00
commit 76073ca15b

View file

@ -108,6 +108,7 @@ class NewDevice extends Component {
knobDimmer: "New knob dimmer",
securityCamera: "New security camera",
thermostat: "New thermostat",
curtains: "New curtains",
};
if (this.state.deviceName === "") {