mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Remove bool filtered rows immediately on change (#517)
* (core) Remove bool filtered rows immediately on change
This commit is contained in:
parent
62b8f54672
commit
e7933d7c59
@ -578,9 +578,10 @@ BaseView.prototype._saveEditRowField = function(editRowModel, colName, value) {
|
|||||||
mainRowModel[colName](value);
|
mainRowModel[colName](value);
|
||||||
}
|
}
|
||||||
const ret = DataRowModel.prototype._saveField.call(editRowModel, colName, value)
|
const ret = DataRowModel.prototype._saveField.call(editRowModel, colName, value)
|
||||||
// Display this rowId, even if it doesn't match the filter
|
// Display this rowId, even if it doesn't match the filter,
|
||||||
|
// unless the filter is on a Bool column
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
if (!this.isDisposed()) {
|
if (!this.isDisposed() && this.currentColumn().pureType() !== 'Bool') {
|
||||||
this._sectionFilter.addTemporaryRow(rowId);
|
this._sectionFilter.addTemporaryRow(rowId);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user