mirror of https://github.com/morpheus65535/bazarr
Fixed notification removal from settings. #1594
This commit is contained in:
parent
3d936ffccf
commit
58de876f19
|
@ -92,8 +92,7 @@ const NotificationModal: FunctionComponent<ModalProps & BaseModalProps> = ({
|
||||||
variant="danger"
|
variant="danger"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (current) {
|
if (current) {
|
||||||
current.enabled = false;
|
update({ ...current, enabled: false });
|
||||||
update(current);
|
|
||||||
}
|
}
|
||||||
closeModal();
|
closeModal();
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue