checking undefined

This commit is contained in:
sanjayk03-dev
2023-12-30 19:56:37 +05:30
parent ca152ed38a
commit 7b8dd1c8de
3 changed files with 6 additions and 6 deletions

View File

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