From 64944ba30b8c05237d7282ca7c5624ae52e534d6 Mon Sep 17 00:00:00 2001 From: ildyria Date: Thu, 29 Jan 2026 21:21:36 +0100 Subject: [PATCH] Fixes #4047 --- resources/js/config/constants.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/js/config/constants.ts b/resources/js/config/constants.ts index c3a77561e9a..c7fead78051 100644 --- a/resources/js/config/constants.ts +++ b/resources/js/config/constants.ts @@ -87,9 +87,10 @@ export const photoLayoutOptions: SelectOption[] = [ ]; export const defaultAlbumProtectionOptions: SelectOption[] = [ - { value: "1", label: "gallery.albums_protection.private" }, - { value: "2", label: "gallery.albums_protection.public" }, - { value: "3", label: "gallery.albums_protection.inherit_from_parent" }, + { value: "private", label: "gallery.albums_protection.private" }, + { value: "public", label: "gallery.albums_protection.public" }, + { value: "inherit", label: "gallery.albums_protection.inherit_from_parent" }, + { value: "public_hidden", label: "gallery.albums_protection.public_but_hidden" }, ]; export const mapProvidersOptions: SelectOption[] = [