Browse Source
Fix ESlint on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1590/head
Joas Schilling
7 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
1 additions and
1 deletions
-
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'); |
|
|
|
} |
|
|
|
|