|
@@ -529,6 +529,7 @@ public class AssetService {
|
|
|
collectionRepo.findById(asset.getPublicCollectionId())
|
|
collectionRepo.findById(asset.getPublicCollectionId())
|
|
|
.ifPresent(collection -> {
|
|
.ifPresent(collection -> {
|
|
|
collection.setSalable(false);
|
|
collection.setSalable(false);
|
|
|
|
|
+ collection.setOnShelf(false);
|
|
|
collectionRepo.save(collection);
|
|
collectionRepo.save(collection);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|