Sanitize screen.current_record if it is already destroyed
Closes #14827 (grafted from 9cb776c27fda504a91312636371273483f404152) --HG-- branch : 8.0
This commit is contained in:
@@ -1356,6 +1356,9 @@
|
||||
});
|
||||
},
|
||||
get current_record() {
|
||||
if (this.__current_record && this.__current_record.destroyed) {
|
||||
this.__current_record = null;
|
||||
}
|
||||
return this.__current_record;
|
||||
},
|
||||
set current_record(record) {
|
||||
|
||||
Reference in New Issue
Block a user