Fix imports

This commit is contained in:
Pranav Raj S 2021-09-06 00:38:32 +05:30
parent c9d6627bd2
commit 00d08ba9b7
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@
<script>
import Home from './views/Home';
import Unread from './views/Unread';
import { mapGetters, mapActions } from 'vuex';
import { mapGetters, mapActions, mapMutations } from 'vuex';
import { setHeader } from 'widget/helpers/axios';
import { AppIFrameHelper, RNHelper } from 'widget/helpers/utils';
import { getLocale } from './helpers/urlParamsHelper';
@ -93,7 +93,7 @@ export default {
setIframeHeight(isFixedHeight) {
this.$nextTick(() => {
const extraHeight = this.getExtraSpaceToscroll();
IFrameHelper.sendMessage({
AppIFrameHelper.sendMessage({
event: 'updateIframeHeight',
isFixedHeight,
extraHeight,

View file

@ -74,7 +74,7 @@ import ChatFooter from 'widget/components/ChatFooter.vue';
import ChatHeaderExpanded from 'widget/components/ChatHeaderExpanded.vue';
import ChatHeader from 'widget/components/ChatHeader.vue';
import ConversationWrap from 'widget/components/ConversationWrap.vue';
import { IFrameHelper } from 'widget/helpers/utils';
import { AppIFrameHelper } from 'widget/helpers/utils';
import configMixin from '../mixins/configMixin';
import TeamAvailability from 'widget/components/TeamAvailability';
import Spinner from 'shared/components/Spinner.vue';
@ -164,7 +164,7 @@ export default {
this.isOnCollapsedView = !this.isOnCollapsedView;
},
closeChat() {
IFrameHelper.sendMessage({ event: 'closeChat' });
AppIFrameHelper.sendMessage({ event: 'closeChat' });
},
},
};