fix: broken render due to regression in store

This commit is contained in:
liyasthomas
2021-12-16 01:41:36 +05:30
parent daffc3fe0e
commit 8ca059cf4a
4 changed files with 36 additions and 22 deletions

View File

@@ -46,7 +46,9 @@
<SmartTab
:id="'preRequestScript'"
:label="`${$t('tab.pre_request_script')}`"
:indicator="preRequestScript.length > 0"
:indicator="
preRequestScript && preRequestScript.length > 0 ? true : false
"
>
<HttpPreRequestScript />
</SmartTab>
@@ -54,7 +56,7 @@
<SmartTab
:id="'tests'"
:label="`${$t('tab.tests')}`"
:indicator="testScript.length > 0"
:indicator="testScript && testScript.length > 0 ? true : false"
>
<HttpTests />
</SmartTab>