Linting long lines

This commit is contained in:
Jarosław Sadziński
2023-01-03 17:45:14 +01:00
parent 654514c18d
commit f8795efff8
13 changed files with 56 additions and 27 deletions

View File

@@ -149,7 +149,9 @@ export class DocumentUsage extends Disposable {
return dom.domComputed((use) => {
const isAccessDenied = use(this._isAccessDenied);
if (isAccessDenied === null) { return null; }
if (isAccessDenied) { return buildMessage(t("Usage statistics are only available to users with full access to the document data.")); }
if (isAccessDenied) {
return buildMessage(t("Usage statistics are only available to users with full access to the document data."));
}
const org = use(this._currentOrg);
const product = use(this._currentProduct);