🐛(frontend) disable personal custom background while deleting

Prevent users selecting a personal custom background while deleting one.
This commit is contained in:
Florent Chehab
2026-03-19 10:29:35 +01:00
parent 4b5e0cb2a3
commit 4ca230eb12
2 changed files with 8 additions and 1 deletions
@@ -739,7 +739,10 @@ export const EffectsConfiguration = ({
aria-label={
uploadNotPossibleSnap.imageBackgroundConfig.label
}
isDisabled={processorOptions.isDisabled}
isDisabled={
processorOptions.isDisabled ||
createFileMutation.isPending
}
onChange={() => {
toggleEffect(
uploadNotPossibleSnap.imageBackgroundConfig!