mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-12-05 11:38:00 +00:00
remove redundant guards before snapshot.merge (#32937)
* remove redundant guards before snapshot.merge * fix(viewmodels): restore RedactedBodyViewModel setting guard * docs(mvvm): note Snapshot.merge change detection
This commit is contained in:
@@ -98,6 +98,6 @@ export class ResizerViewModel
|
||||
};
|
||||
|
||||
public onBlur = (): void => {
|
||||
if (this.getSnapshot().isFocusedViaKeyboard) this.snapshot.merge({ isFocusedViaKeyboard: false });
|
||||
this.snapshot.merge({ isFocusedViaKeyboard: false });
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user