mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
20 lines
317 B
JavaScript
20 lines
317 B
JavaScript
export const state = () => {
|
|
return {
|
|
showChatModul: false,
|
|
}
|
|
}
|
|
|
|
export const mutations = {
|
|
SET_OPEN_CHAT_MODUL(state, ctx) {
|
|
console.log(ctx)
|
|
state.showChatModul = ctx || false
|
|
},
|
|
}
|
|
|
|
export const getters = {
|
|
showChatModul(state) {
|
|
console.log('getter', state)
|
|
return state
|
|
},
|
|
}
|