[iOS] Admin Dashboard - Hide Collections from Deletion Menu (#1340)
This commit is contained in:
parent
ff2796c745
commit
0797fb5fee
|
@ -132,7 +132,10 @@ struct ServerUserAccessView: View {
|
||||||
|
|
||||||
if tempPolicy.enableContentDeletion == false {
|
if tempPolicy.enableContentDeletion == false {
|
||||||
Section {
|
Section {
|
||||||
ForEach(viewModel.libraries, id: \.id) { library in
|
ForEach(
|
||||||
|
viewModel.libraries.filter { $0.collectionType != "boxsets" },
|
||||||
|
id: \.id
|
||||||
|
) { library in
|
||||||
Toggle(
|
Toggle(
|
||||||
library.displayTitle,
|
library.displayTitle,
|
||||||
isOn: $tempPolicy.enableContentDeletionFromFolders
|
isOn: $tempPolicy.enableContentDeletionFromFolders
|
||||||
|
|
Loading…
Reference in New Issue