mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
invalidate board total when images deleted, only run date range logic if board has less than 20 images
This commit is contained in:
parent
06296896a9
commit
50415450d8
@ -989,6 +989,7 @@ export const imagesApi = api.injectEndpoints({
|
||||
: true;
|
||||
|
||||
if (isCacheFullyPopulated || isInDateRange) {
|
||||
console.log('upserting');
|
||||
// *upsert* to $cache
|
||||
dispatch(
|
||||
imagesApi.util.updateQueryData(
|
||||
|
Loading…
Reference in New Issue
Block a user