You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
413 B
14 lines
413 B
export default {
|
|
isModal: (state, getters, rootState) => modal => {
|
|
let modalArray = modal.split("/");
|
|
if (modalArray.length == 2) {
|
|
return rootState[modalArray[0]]["modal"][modalArray[1]];
|
|
} else {
|
|
return rootState.modal[modalArray[0]];
|
|
}
|
|
},
|
|
getAlertProperties:(state) => state.alertProperties,
|
|
getAlertType:(state) => state.alertType,
|
|
|
|
};
|