Files
Business-credit-asistant/resources/js/store/auth/mutations.js
2026-06-29 13:00:18 +06:00

23 lines
473 B
JavaScript
Vendored

export const SET_AUTHENTICATED = (state, value) => {
state.authenticated = value
}
export const SET_USER = (state, value) => {
state.user = value
}
export const SET_LOADER = (state, value) => {
state.loader = value
}
export const SET_PERMISSIONS = (state, value) => {
state.permissions = value
}
export const SHOW_MODAL = (state, value) => {
state.isModalShow = value
}
export const SET_USER_FORM_DATA = (state, value) => {
state.userFormData = value
}