fix missed spot for autoAddBoardId none

This commit is contained in:
Mary Hipp 2023-08-11 10:59:19 -04:00 committed by psychedelicious
parent 0b11f309ca
commit a67d8376c7

View File

@ -20,7 +20,7 @@ export const addStagingAreaImageSavedListener = () => {
// we may need to add it to the autoadd board
const { autoAddBoardId } = getState().gallery;
if (autoAddBoardId) {
if (autoAddBoardId && autoAddBoardId !== 'none') {
await dispatch(
imagesApi.endpoints.addImageToBoard.initiate({
imageDTO: newImageDTO,