Review fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<banner
|
||||
v-if="shouldShowBanner"
|
||||
v-if="false"
|
||||
color-scheme="alert"
|
||||
:banner-message="bannerMessage"
|
||||
:action-button-label="actionButtonMessage"
|
||||
@@ -34,6 +34,9 @@ export default {
|
||||
actionButtonMessage() {
|
||||
return this.$t('GENERAL_SETTINGS.OPEN_BILLING');
|
||||
},
|
||||
isOnboardingView() {
|
||||
return this.$route.name.includes('onboarding_');
|
||||
},
|
||||
shouldShowBanner() {
|
||||
if (!this.isOnChatwootCloud) {
|
||||
return false;
|
||||
@@ -43,6 +46,9 @@ export default {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.isOnboardingView) {
|
||||
return false;
|
||||
}
|
||||
return this.isPaymentPending();
|
||||
},
|
||||
},
|
||||
|
||||
@@ -29,7 +29,13 @@ export default {
|
||||
actionButtonMessage() {
|
||||
return this.$t('APP_GLOBAL.RESEND_VERIFICATION_MAIL');
|
||||
},
|
||||
isOnboardingView() {
|
||||
return this.$route.name.includes('onboarding_');
|
||||
},
|
||||
shouldShowBanner() {
|
||||
if (this.isOnboardingView) {
|
||||
return false;
|
||||
}
|
||||
return !this.currentUser.confirmed;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user