Contract meta v1 name to v2 label w/ :: (#4471)

This commit is contained in:
Jaco
2022-01-19 15:08:28 +02:00
committed by GitHub
parent c20538f6f7
commit 1616b014b3
+1 -1
View File
@@ -32,7 +32,7 @@ const ARG_TYPES = {
function v1ToV2Label (entry: NamedEntry): { label: Text } {
return objectSpread({}, entry, {
label: Array.isArray(entry.name)
? entry.name[0]
? entry.name.join('::')
: entry.name
});
}