23 lines
709 B
Vue
23 lines
709 B
Vue
<script lang="ts" setup>
|
|
import BaseBanner from '@/components/banners/BaseBanner.vue';
|
|
import { i18n as locale } from '@/plugins/i18n';
|
|
import { useUIStore } from '@/stores';
|
|
|
|
function onUpdatePlanClick() {
|
|
void useUIStore().goToUpgrade('canvas-nav', 'upgrade-canvas-nav', 'redirect');
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<base-banner customIcon="info-circle" theme="warning" name="TRIAL_OVER">
|
|
<template #mainContent>
|
|
<span>{{ locale.baseText('banners.trialOver.message') }}</span>
|
|
</template>
|
|
<template #trailingContent>
|
|
<n8n-button type="success" @click="onUpdatePlanClick" icon="gem" size="small">{{
|
|
locale.baseText('generic.upgradeNow')
|
|
}}</n8n-button>
|
|
</template>
|
|
</base-banner>
|
|
</template>
|