mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: Race condition with policies removed on app load
This commit is contained in:
@@ -150,7 +150,7 @@ export default abstract class Model {
|
||||
this.isNew = false;
|
||||
this.persistedAttributes = this.toAPI();
|
||||
|
||||
if (!this.initialized) {
|
||||
if (this.initialized) {
|
||||
LifecycleManager.executeHooks(
|
||||
this.constructor,
|
||||
"afterChange",
|
||||
|
||||
Reference in New Issue
Block a user