mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Fixing all eslint's reported error
This commit is contained in:
@@ -239,7 +239,7 @@ export function buildUpgradeMessage(
|
||||
) {
|
||||
if (!canUpgrade) { return t("Contact the site owner to upgrade the plan to raise limits."); }
|
||||
|
||||
const upgradeLinkText = t("start your 30-day free trial of the Pro plan.")
|
||||
const upgradeLinkText = t("start your 30-day free trial of the Pro plan.");
|
||||
// TODO i18next
|
||||
return [
|
||||
variant === 'short' ? null : t("For higher limits, "),
|
||||
|
||||
@@ -986,7 +986,7 @@ export class GristDoc extends DisposableWithEvents {
|
||||
* Renames table. Method exposed primarily for tests.
|
||||
*/
|
||||
public async renameTable(tableId: string, newTableName: string) {
|
||||
const tableRec = this.docModel.visibleTables.all().find(t => t.tableId.peek() === tableId);
|
||||
const tableRec = this.docModel.visibleTables.all().find(tb => tb.tableId.peek() === tableId);
|
||||
if (!tableRec) {
|
||||
throw new UserError(`No table with id ${tableId}`);
|
||||
}
|
||||
|
||||
@@ -380,7 +380,7 @@ export class Importer extends DisposableWithEvents {
|
||||
}
|
||||
|
||||
private _getHiddenTableIds(): string[] {
|
||||
return this._sourceInfoArray.get().map((t: SourceInfo) => t.hiddenTableId);
|
||||
return this._sourceInfoArray.get().map((si: SourceInfo) => si.hiddenTableId);
|
||||
}
|
||||
|
||||
private async _reImport(upload: UploadResult) {
|
||||
|
||||
Reference in New Issue
Block a user