Fixed non-prefix path
This commit is contained in:
parent
d61cd57979
commit
d82206480e
@ -62,7 +62,7 @@ public class KeyCompletionProvider extends CompletionProvider<CompletionParamete
|
|||||||
if (node.isLeaf() && !node.getKey().equals(LocalizedNode.ROOT_KEY)) {
|
if (node.isLeaf() && !node.getKey().equals(LocalizedNode.ROOT_KEY)) {
|
||||||
String value = node.getValue().get(locale);
|
String value = node.getValue().get(locale);
|
||||||
map.put(path, value);
|
map.put(path, value);
|
||||||
if (prefix != null) {
|
if (prefix != null && !prefix.isEmpty()) {
|
||||||
map.put(prefix + "." + path, value);
|
map.put(prefix + "." + path, value);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user