Skip to content

Commit

Permalink
fix: disable speed-dial when loading (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdavella authored Nov 23, 2024
1 parent 0af0e14 commit b10925d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function SelectedProgrammingActions({
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
const snackbar = useSnackbar();
const { addSelectedItems } = useAddSelectedItems(
const { addSelectedItems, isLoading } = useAddSelectedItems(
onAddSelectedMedia,
onAddMediaSuccess,
);
Expand Down Expand Up @@ -172,6 +172,7 @@ export default function SelectedProgrammingActions({
onClose={handleClose}
onOpen={handleOpen}
open={open}
FabProps={{ disabled: isLoading || selectAllLoading }}
>
{selectedMedia.length > 0 && (
<SpeedDialAction
Expand Down

0 comments on commit b10925d

Please sign in to comment.