mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Linting long lines
This commit is contained in:
@@ -395,7 +395,10 @@ export class ActionLog extends dispose.Disposable implements IDomComponent {
|
||||
const newName = tableRename[1];
|
||||
if (!newName) {
|
||||
// TODO - find a better way to send informative notifications.
|
||||
gristNotify(t("Table {{tableId}} was subsequently removed in action #{{actionNum}}", {tableId:tableId, actionNum: action.actionNum}));
|
||||
gristNotify(t(
|
||||
"Table {{tableId}} was subsequently removed in action #{{actionNum}}",
|
||||
{tableId:tableId, actionNum: action.actionNum}
|
||||
));
|
||||
return;
|
||||
}
|
||||
tableId = newName;
|
||||
@@ -416,7 +419,10 @@ export class ActionLog extends dispose.Disposable implements IDomComponent {
|
||||
const newName = columnRename[1];
|
||||
if (!newName) {
|
||||
// TODO - find a better way to send informative notifications.
|
||||
gristNotify(t("Column {{colId}} was subsequently removed in action #{{action.actionNum}}", {colId, actionNum: action.actionNum}));
|
||||
gristNotify(t(
|
||||
"Column {{colId}} was subsequently removed in action #{{action.actionNum}}",
|
||||
{colId, actionNum: action.actionNum}
|
||||
));
|
||||
return;
|
||||
}
|
||||
colId = newName;
|
||||
|
||||
@@ -656,8 +656,9 @@ export class ChartConfig extends GrainJSDisposable {
|
||||
),
|
||||
dom.domComputed(this._optionsObj.prop('errorBars'), (value: ChartOptions["errorBars"]) =>
|
||||
value === 'symmetric' ? cssRowHelp(t("Each Y series is followed by a series for the length of error bars.")) :
|
||||
value === 'separate' ? cssRowHelp(t("Each Y series is followed by two series, for top and bottom error bars.")) :
|
||||
null
|
||||
value === 'separate' ? cssRowHelp(t("Each Y series is followed by two series, for " +
|
||||
"top and bottom error bars."))
|
||||
: null
|
||||
),
|
||||
]),
|
||||
|
||||
|
||||
@@ -160,7 +160,10 @@ export class DataTables extends Disposable {
|
||||
function doRemove() {
|
||||
return docModel.docData.sendAction(['RemoveTable', r.tableId()]);
|
||||
}
|
||||
confirmModal(t("Delete {{formattedTableName}} data, and remove it from all pages?", {formattedTableName : r.formattedTableName()}), 'Delete', doRemove);
|
||||
confirmModal(t(
|
||||
"Delete {{formattedTableName}} data, and remove it from all pages?",
|
||||
{formattedTableName : r.formattedTableName()}
|
||||
), 'Delete', doRemove);
|
||||
}
|
||||
|
||||
private _tableRows(table: TableRec) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user