1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 16:23:41 +00:00

Fixed notification removal from settings. #1594

This commit is contained in:
morpheus65535 2021-10-28 06:50:50 -04:00
parent 3d936ffccf
commit 58de876f19

View file

@ -92,8 +92,7 @@ const NotificationModal: FunctionComponent<ModalProps & BaseModalProps> = ({
variant="danger"
onClick={() => {
if (current) {
current.enabled = false;
update(current);
update({ ...current, enabled: false });
}
closeModal();
}}