testing with typeof

This commit is contained in:
sanjayk03-dev
2023-12-30 20:01:37 +05:30
parent 7b8dd1c8de
commit c9204ad2d1

View File

@@ -208,9 +208,9 @@ script#control-view-template(type="text/x-template")
.bar(:style="'width:' + (progress || 0) * 100 + '%'")
.macros-div
.macros-buttons(class="present",v-if="config.macros!='undefined'")
.macros-buttons(class="present",v-if=" typeof config.macros != 'undefined'")
p there is a active macro
.macros-buttons(class ="absent",v-if="config.macros=='undefined'")
.macros-buttons(class ="absent",v-if="typeof config.macros == 'undefined'")
p there is No macro