mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
Co-authored-by: Divyesh <dkothari@box8.in> Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
36 lines
612 B
JavaScript
36 lines
612 B
JavaScript
const {
|
|
CREATE_NEW_ACCOUNT_FROM_DASHBOARD: createNewAccountFromDashboard,
|
|
INSTALLATION_NAME: installationName,
|
|
LOGO_THUMBNAIL: logoThumbnail,
|
|
LOGO: logo,
|
|
PRIVACY_URL: privacyURL,
|
|
TERMS_URL: termsURL,
|
|
WIDGET_BRAND_URL: widgetBrandURL,
|
|
} = window.globalConfig;
|
|
|
|
const state = {
|
|
createNewAccountFromDashboard,
|
|
installationName,
|
|
logo,
|
|
logoThumbnail,
|
|
privacyURL,
|
|
termsURL,
|
|
widgetBrandURL,
|
|
};
|
|
|
|
export const getters = {
|
|
get: $state => $state,
|
|
};
|
|
|
|
export const actions = {};
|
|
|
|
export const mutations = {};
|
|
|
|
export default {
|
|
namespaced: true,
|
|
state,
|
|
getters,
|
|
actions,
|
|
mutations,
|
|
};
|