File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
invokeai/frontend/web/src/services/api/endpoints Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,10 @@ export const imagesApi = api.injectEndpoints({
382
382
type : 'BoardImagesTotal' ,
383
383
id : imageDTO . board_id ?? 'none' ,
384
384
} ,
385
+ {
386
+ type : 'BoardImagesTotal' ,
387
+ id : board_id ,
388
+ } ,
385
389
] ;
386
390
} ,
387
391
} ) ,
@@ -454,6 +458,10 @@ export const imagesApi = api.injectEndpoints({
454
458
} ) ,
455
459
} ) ;
456
460
tags . push ( { type : 'Board' , id : imageDTOs [ 0 ] . board_id ?? 'none' } ) ;
461
+ tags . push ( {
462
+ type : 'BoardImagesTotal' ,
463
+ id : imageDTOs [ 0 ] . board_id ?? 'none' ,
464
+ } ) ;
457
465
}
458
466
for ( const imageDTO of imageDTOs ) {
459
467
tags . push ( { type : 'Image' , id : imageDTO . image_name } ) ;
@@ -498,6 +506,10 @@ export const imagesApi = api.injectEndpoints({
498
506
categories : getCategories ( imageDTOs [ 0 ] ) ,
499
507
} ) ,
500
508
} ) ;
509
+ tags . push ( {
510
+ type : 'BoardImagesTotal' ,
511
+ id : 'none' ,
512
+ } ) ;
501
513
}
502
514
503
515
result ?. removed_image_names . forEach ( ( image_name ) => {
You can’t perform that action at this time.
0 commit comments