Insulate tag changes

This commit is contained in:
Pieter Vander Vennet 2021-06-21 00:11:07 +02:00
parent 2e5e242e91
commit 65486b6953

View file

@ -156,9 +156,10 @@ export default class SpecialVisualizations {
],
constr: (state: State, tagSource: UIEventSource<any>, args: string[]) =>{
return new VariableUiElement(
tagSource.map(tags => {
tagSource
.map(tags => tags[args[0]])
.map(listStr => {
try{
const listStr = tags[args[0]]
if("" === listStr ?? ""){
return "Nothing defined";
}