Skip to content

Commit

Permalink
Merge pull request #793 from AtlasOfLivingAustralia/feature/#790
Browse files Browse the repository at this point in the history
#790 Adding a private image on gives error
  • Loading branch information
schoicsiro authored Oct 9, 2023
2 parents 56e4762 + fa0e082 commit 78402d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class ImageService {
response.resp.count = numberOfPublishedImages + numberOfLocalImages

if (!readonlyView) {
response.resp.availImagesCount = publishedImagesMap?.resp?.totalRecords + numberOfLocalImages
response.resp.availImagesCount = (publishedImagesMap.resp?publishedImagesMap?.resp?.totalRecords:0) + numberOfLocalImages
} else {
response.resp.count = numberOfPublishedImages + ((numberOfIncludedLocalImages > 0)? numberOfIncludedLocalImages : 0)
response.resp.availImagesCount = response.resp.count
Expand Down

0 comments on commit 78402d7

Please sign in to comment.