mail/public/js/state.js
2020-04-21 13:28:57 +02:00

21 lines
267 B
JavaScript

const state = {
routes: {},
token: localStorage["webmail-token"],
loginState: {
username: "",
password: "",
loggedIn: false,
errorMsg: "",
busy: false
},
compose: {
recipient: "",
subject: "",
body: ""
},
mails: null
};
export default state;