This commit is contained in:
@@ -66,6 +66,10 @@ CURRENT TODOs
|
||||
|
||||
@@@@@@@@@@@ ROADMAP STAGE 2:
|
||||
|
||||
todo: Attachments / wiki: wiki html processor needs to append dl token to local files in the wikiview automatically in real time
|
||||
|
||||
downloadToken:"tR6ocdDYzU1WVQpdpH8Ux7AWLKvJhYOKth7bBKLRAM"
|
||||
|
||||
todo: ATTACHMENTS
|
||||
- TODO: PLANNING - should attachments be actually attached in the db to their object? like Wiki was changed to do?
|
||||
- is this even possible?
|
||||
|
||||
@@ -48,7 +48,8 @@ export function processLogin(response) {
|
||||
userId: Number(token.id),
|
||||
userName: token.name,
|
||||
roles: token["ayanova/roles"],
|
||||
userType: token["usertype"]
|
||||
userType: token["usertype"],
|
||||
dlt: token["dlt"]
|
||||
});
|
||||
|
||||
//Initialize the application
|
||||
|
||||
@@ -15,6 +15,7 @@ export default new Vuex.Store({
|
||||
apiUrl: "",
|
||||
helpUrl: "",
|
||||
apiToken: "-",
|
||||
downloadToken: "-",
|
||||
userId: 0,
|
||||
userName: "NOT AUTHENTICATED",
|
||||
roles: 0,
|
||||
@@ -46,10 +47,12 @@ export default new Vuex.Store({
|
||||
state.apiToken = data.apiToken;
|
||||
state.userName = data.userName;
|
||||
state.userType = data.userType;
|
||||
state.downloadToken = data.dlt;
|
||||
},
|
||||
logout(state) {
|
||||
//Things that are reset on logout
|
||||
state.apiToken = "-";
|
||||
state.downloadToken = "-";
|
||||
state.authenticated = false;
|
||||
state.userId = 0;
|
||||
state.userName = "NOT AUTHENTICATED";
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
|
||||
<v-textarea
|
||||
v-model="obj.notes"
|
||||
v-model="obj.notes"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('WidgetNotes')"
|
||||
:error-messages="form().serverErrors(this, 'notes')"
|
||||
|
||||
Reference in New Issue
Block a user