mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
[persistence] Fix UI persistence item exclude config (#4502)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
This commit is contained in:
parent
7492d1cd14
commit
cdc0e0f32e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user