20 lines
429 B
JavaScript
20 lines
429 B
JavaScript
export const strict = false
|
|
|
|
export const state = () => ({
|
|
showErrorAlert: false,
|
|
variant: 'danger',
|
|
ErrorAlertMessage: ''
|
|
})
|
|
|
|
export const mutations = {
|
|
UPDATE_SHOW_ERROR_ALERT (state, show) {
|
|
state.showErrorAlert = show
|
|
},
|
|
UPDATE_VARIANT (state, variant) {
|
|
state.variant = variant
|
|
},
|
|
UPDATE_ERROR_AERT_MESSAGE (state, message) {
|
|
state.ErrorAlertMessage = message
|
|
}
|
|
}
|