fix: type check

This commit is contained in:
Zack Spear
2024-05-15 16:44:30 -07:00
committed by Zack Spear
parent 045750c87e
commit cef1b29355
12 changed files with 23 additions and 17 deletions

View File

@@ -254,7 +254,7 @@ const modalWidth = computed(() => {
:icon="item.icon"
:icon-right="item.iconRight"
:icon-right-hover-display="item.iconRightHoverDisplay"
:text="t(item.text)"
:text="t(item.text ?? '')"
:title="item.title ? t(item.title) : undefined"
@click="item.click ? item.click() : undefined"
/>
@@ -324,7 +324,7 @@ const modalWidth = computed(() => {
:icon="item.icon"
:icon-right="item.iconRight"
:icon-right-hover-display="item.iconRightHoverDisplay"
:text="t(item.text)"
:text="t(item.text ?? '')"
:title="item.title ? t(item.title) : undefined"
@click="item.click ? item.click() : undefined"
/>

View File

@@ -95,7 +95,7 @@ watchEffect(() => {
:text="t('Extend License')"
:title="t('Pay your annual fee to continue receiving OS updates.')"
class="flex-grow"
@click="renewAction.click()"
@click="renewAction.click ? renewAction.click() : undefined"
/>
<!-- <BrandButton
btn-style="black"