chore: Upgrade vue-i18n to 8.x (#1383)
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import Vue from 'vue';
|
||||
|
||||
export const buildSearchParamsWithLocale = search => {
|
||||
const locale = Vue.config.lang;
|
||||
const locale = window.WOOT_WIDGET.$root.$i18n.locale;
|
||||
if (search) {
|
||||
search = `${search}&locale=${locale}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user