mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 08:13:14 +00:00
Fixed notification removal from settings. #1594
This commit is contained in:
parent
3d936ffccf
commit
58de876f19
1 changed files with 1 additions and 2 deletions
|
@ -92,8 +92,7 @@ const NotificationModal: FunctionComponent<ModalProps & BaseModalProps> = ({
|
|||
variant="danger"
|
||||
onClick={() => {
|
||||
if (current) {
|
||||
current.enabled = false;
|
||||
update(current);
|
||||
update({ ...current, enabled: false });
|
||||
}
|
||||
closeModal();
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue