mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
lint
This commit is contained in:
parent
ab67330f40
commit
920b3ab156
@ -235,7 +235,7 @@ export class LinkingState extends Disposable {
|
|||||||
* Returns a boolean indicating whether editing should be disabled in the destination section.
|
* Returns a boolean indicating whether editing should be disabled in the destination section.
|
||||||
*/
|
*/
|
||||||
public disableEditing(): boolean {
|
public disableEditing(): boolean {
|
||||||
if (!Boolean(this.filterState)) { return false; }
|
if (!this.filterState) { return false; }
|
||||||
const srcRowId = this._srcSection.activeRowId();
|
const srcRowId = this._srcSection.activeRowId();
|
||||||
return srcRowId === 'new' || srcRowId === null;
|
return srcRowId === 'new' || srcRowId === null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user