mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
23 lines
341 B
JavaScript
23 lines
341 B
JavaScript
export const state = () => {
|
|
return {
|
|
showChat: false,
|
|
roomID: 'u0',
|
|
}
|
|
}
|
|
|
|
export const mutations = {
|
|
SET_OPEN_CHAT(state, ctx) {
|
|
state.showChat = ctx.showChat || false
|
|
state.roomID = ctx.roomID || 'u0'
|
|
},
|
|
}
|
|
|
|
export const getters = {
|
|
showChat(state) {
|
|
return state
|
|
},
|
|
roomID(state) {
|
|
return state
|
|
},
|
|
}
|