mirror of
https://github.com/unraid/api.git
synced 2026-01-06 00:30:22 -06:00
fix: type check
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user