Compare commits

...
Author SHA1 Message Date
Shivam Mishra 946e5019c4 feat: disable gmail 2024-06-13 14:43:35 +05:30
@@ -20,14 +20,14 @@
</div> </div>
</div> </div>
<microsoft v-else-if="provider === 'microsoft'" /> <microsoft v-else-if="provider === 'microsoft'" />
<google v-else-if="provider === 'google'" /> <!-- <google v-else-if="provider === 'google'" /> -->
<forward-to-option v-else-if="provider === 'other_provider'" /> <forward-to-option v-else-if="provider === 'other_provider'" />
</template> </template>
<script setup> <script setup>
import { ref, computed } from 'vue'; import { ref, computed } from 'vue';
import ForwardToOption from './emailChannels/ForwardToOption.vue'; import ForwardToOption from './emailChannels/ForwardToOption.vue';
import Microsoft from './emailChannels/Microsoft.vue'; import Microsoft from './emailChannels/Microsoft.vue';
import Google from './emailChannels/Google.vue'; // import Google from './emailChannels/Google.vue';
import ChannelSelector from 'dashboard/components/ChannelSelector.vue'; import ChannelSelector from 'dashboard/components/ChannelSelector.vue';
import PageHeader from '../../SettingsSubPageHeader.vue'; import PageHeader from '../../SettingsSubPageHeader.vue';
@@ -50,12 +50,12 @@ const emailProviderList = computed(() => {
key: 'microsoft', key: 'microsoft',
src: '/assets/images/dashboard/channels/microsoft.png', src: '/assets/images/dashboard/channels/microsoft.png',
}, },
{ // {
title: t('INBOX_MGMT.EMAIL_PROVIDERS.GOOGLE'), // title: t('INBOX_MGMT.EMAIL_PROVIDERS.GOOGLE'),
isEnabled: !!window.chatwootConfig.googleOAuthClientId, // isEnabled: !!window.chatwootConfig.googleOAuthClientId,
key: 'google', // key: 'google',
src: '/assets/images/dashboard/channels/google.png', // src: '/assets/images/dashboard/channels/google.png',
}, // },
{ {
title: t('INBOX_MGMT.EMAIL_PROVIDERS.OTHER_PROVIDERS'), title: t('INBOX_MGMT.EMAIL_PROVIDERS.OTHER_PROVIDERS'),
isEnabled: true, isEnabled: true,