Enable arrow-body-style with as-needed
requireReturnForObjectLiteral for readability Change-Id: I433937b44757939a31ca92512f0aaf0884f86d27
This commit is contained in:
@@ -80,9 +80,10 @@
|
||||
}
|
||||
|
||||
_getHasAvatars() {
|
||||
return this.$.restAPI.getConfig().then(cfg => {
|
||||
return Promise.resolve(!!(cfg && cfg.plugin && cfg.plugin.has_avatars));
|
||||
});
|
||||
return this.$.restAPI.getConfig()
|
||||
.then(cfg => Promise.resolve(!!(
|
||||
cfg && cfg.plugin && cfg.plugin.has_avatars
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user