Add support for prefix in customapi
This commit is contained in:
parent
7f621ed518
commit
60ee3c22a4
@ -90,6 +90,11 @@ function formatValue(t, mapping, rawValue) {
|
||||
// nothing
|
||||
}
|
||||
|
||||
// Apply fixed prefix.
|
||||
const prefix = mapping?.prefix;
|
||||
if (prefix) {
|
||||
value = `${prefix}${value}`;
|
||||
}
|
||||
// Apply fixed suffix.
|
||||
const suffix = mapping?.suffix;
|
||||
if (suffix) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user