mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
reimplement fix for smushed keys
This commit is contained in:
parent
59ae7cddc5
commit
798eb4444d
@ -57,7 +57,9 @@ define([
|
|||||||
if (isIdentifier(keyString)) {
|
if (isIdentifier(keyString)) {
|
||||||
// TODO REMOVE FOR OMM-RELEASE-5.0
|
// TODO REMOVE FOR OMM-RELEASE-5.0
|
||||||
if (!keyString.namespace && keyString.key.includes(':')) {
|
if (!keyString.namespace && keyString.key.includes(':')) {
|
||||||
console.error(`smushed key: ${keyString.key}`);
|
console.warn(`smushed key: ${keyString.key}`);
|
||||||
|
|
||||||
|
return parseKeyString(keyString.key);
|
||||||
}
|
}
|
||||||
|
|
||||||
return keyString;
|
return keyString;
|
||||||
|
Loading…
Reference in New Issue
Block a user