Browse Source

Fix ESlint on master

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1590/head
Joas Schilling 7 years ago
parent
commit
3df2eeb408
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 2
      js/models/room.js

2
js/models/room.js

@ -75,7 +75,7 @@
// attributes hash to be set on the model.
return (result.ocs === undefined)? result : result.ocs.data;
},
validate: function(attributes, options) {
validate: function(attributes) {
if (!attributes.name) {
return t('spreed', 'Room name can not be empty');
}

Loading…
Cancel
Save