Fix skipped question count

This commit is contained in:
Pieter Vander Vennet 2020-07-25 01:07:02 +02:00
parent 3efcc4d456
commit a39d21a5a9
16 changed files with 3365 additions and 11 deletions

View file

@ -64,7 +64,7 @@ class OnlyShowIf extends UIElement implements TagDependantUIElement {
return this._filter.matches(TagUtils.proprtiesToKV(this._source.data));
}
protected InnerRender(): string {
InnerRender(): string {
if (this.Matches()) {
return this._embedded.Render();
} else {
@ -82,6 +82,13 @@ class OnlyShowIf extends UIElement implements TagDependantUIElement {
}
return this._embedded.IsKnown();
}
IsSkipped(): boolean {
if(!this.Matches()){
return false;
}
return this._embedded.IsSkipped();
}
IsQuestioning(): boolean {
if(!this.Matches()){