Skip to content

Commit

Permalink
fix notification when feature flag is on
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Apr 13, 2021
1 parent aa1b24c commit adb0b01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1379,10 +1379,10 @@ export default class InternalModel {
}

if (didChange && this.hasRecord) {
set(this, '_tag', this._tag + 1);
if (CUSTOM_MODEL_CLASS) {
this.store._notificationManager.notify(this.identifier, 'identity');
} else {
set(this, '_tag', this._tag + 1);
this.notifyPropertyChange('id');
}
}
Expand Down

0 comments on commit adb0b01

Please sign in to comment.