feat: remove log rocket (#9279)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Shivam Mishra
2024-04-24 12:36:36 +05:30
committed by GitHub
parent 480cf4952d
commit 12403b75d6
6 changed files with 0 additions and 40 deletions

View File

@@ -46,26 +46,8 @@ import webhooks from './modules/webhooks';
import draftMessages from './modules/draftMessages';
import SLAReports from './modules/SLAReports';
import LogRocket from 'logrocket';
import createPlugin from 'logrocket-vuex';
const plugins = [];
if (window.logRocketProjectId) {
LogRocket.init(window.logRocketProjectId);
// eslint-disable-next-line func-names
const logRocketPlugin = createPlugin(LogRocket, function (mutation) {
const eventsToIgnore = ['SET_CURRENT_USER', 'AUTHENTICATE', 'CLEAR_USER'];
if (eventsToIgnore.includes(mutation.type)) {
return null;
}
return mutation;
});
plugins.push(logRocketPlugin);
}
Vue.use(Vuex);
export default new Vuex.Store({
modules: {