-
- {
- const enabled = !isDisabled;
- asyncScheduler.schedule(async () => {
- if (enabled) {
- await disableAlert({ ...item, enabled });
- } else {
- await enableAlert({ ...item, enabled });
- }
- onAlertChanged();
- }, 10);
- setIsDisabled(!isDisabled);
- }}
- label={
-
- }
- />
-
-
-
-
-
-
- {
- const muteAll = isMuted;
- asyncScheduler.schedule(async () => {
- if (muteAll) {
- await unmuteAlert({ ...item, muteAll });
- } else {
- await muteAlert({ ...item, muteAll });
- }
- onAlertChanged();
- }, 10);
- setIsMuted(!isMuted);
- }}
- label={
-
- }
- />
-
-
-
-
-
-
- setAlertsToDelete([item.id])}
- >
-
-
-
+