[iOS] Admin Dashboard - Hide Collections from Deletion Menu (#1340)

This commit is contained in:
Joe Kribs 2024-12-07 14:32:51 -07:00 committed by GitHub
parent ff2796c745
commit 0797fb5fee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -132,7 +132,10 @@ struct ServerUserAccessView: View {
if tempPolicy.enableContentDeletion == false {
Section {
ForEach(viewModel.libraries, id: \.id) { library in
ForEach(
viewModel.libraries.filter { $0.collectionType != "boxsets" },
id: \.id
) { library in
Toggle(
library.displayTitle,
isOn: $tempPolicy.enableContentDeletionFromFolders