This commit is contained in:
Janet Vorobyeva 2023-09-08 13:41:25 -07:00
parent ab67330f40
commit 920b3ab156

View File

@ -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;
} }