Feat: Update trial banner text on final day of trial (#3755)

This commit is contained in:
Mike
2025-01-02 14:36:42 +01:00
committed by GitHub
parent 2de3136a22
commit e7c84111d8
@@ -79,6 +79,9 @@ const trialDaysLeft = computed(() => {
})
const title = computed(() => {
if (isTrial.value) {
if (trialDaysLeft.value === 0) {
return 'Final day of free trial'
}
if (props.condensed) {
return `${trialDaysLeft.value} day${
trialDaysLeft.value !== 1 ? 's' : ''