Fix sharebutton

This commit is contained in:
Pieter Vander Vennet 2021-06-15 01:24:04 +02:00
parent afbe765ce9
commit 42d13f564c
7 changed files with 51 additions and 59 deletions

View file

@ -19,6 +19,13 @@ export default class TagRenderingAnswer extends VariableUiElement {
if(tags === undefined){
return undefined;
}
if(configuration.condition){
if(!configuration.condition.matchesProperties(tags)){
return undefined;
}
}
const trs = Utils.NoNull(configuration.GetRenderValues(tags));
if(trs.length === 0){
return undefined;