Feat: Update trial banner text on final day of trial (#3755)
This commit is contained in:
@@ -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' : ''
|
||||
|
||||
Reference in New Issue
Block a user