From c9204ad2d169dd4d9c79bf87dda875c486ea7536 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sat, 30 Dec 2023 20:01:37 +0530 Subject: [PATCH] testing with typeof --- src/pug/templates/control-view.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pug/templates/control-view.pug b/src/pug/templates/control-view.pug index 29fa96f..843861a 100644 --- a/src/pug/templates/control-view.pug +++ b/src/pug/templates/control-view.pug @@ -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