mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-15 04:37:56 -05:00
feat(ui): update delete boards modal logic for updated board images endpoint
The functionality is the same - just need to explicitly opt out of categories and is_intermediate constraints.
This commit is contained in:
@@ -36,7 +36,13 @@ const DeleteBoardModal = () => {
|
||||
const boardToDelete = useStore($boardToDelete);
|
||||
const { t } = useTranslation();
|
||||
const { currentData: boardImageNames, isFetching: isFetchingBoardNames } = useListAllImageNamesForBoardQuery(
|
||||
boardToDelete?.board_id ?? skipToken
|
||||
boardToDelete?.board_id
|
||||
? {
|
||||
board_id: boardToDelete?.board_id,
|
||||
categories: undefined,
|
||||
is_intermediate: undefined,
|
||||
}
|
||||
: skipToken
|
||||
);
|
||||
|
||||
const selectImageUsageSummary = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user