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