[persistence] Fix UI persistence item exclude config (#4502)

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
l10n_crowdin
Mark Herwege 2024-12-17 19:53:24 +01:00 committed by GitHub
parent 7492d1cd14
commit cdc0e0f32e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public class PersistenceServiceConfigurationDTOMapper {
return new PersistenceGroupConfig(string.substring(0, string.length() - 1));
} else {
if (string.startsWith("!")) {
return new PersistenceItemExcludeConfig(string.substring(1, string.length() - 1));
return new PersistenceItemExcludeConfig(string.substring(1));
}
return new PersistenceItemConfig(string);
}