forked from kompetenzinventar/ki-frontend
ISSUE-58| Move profile visiblity (!87)
Move switch profile visibility button to save bar Rename Save button to save as draft and offer save and publish Fixes kompetenzinventar/ki-doku#58 Reviewed-on: kompetenzinventar/ki-frontend#87 Reviewed-by: srsh <srsh@noreply.git.wtf-eg.de> Co-authored-by: Nikolai Gotzmann <self@ngotzmann.net> Co-committed-by: Nikolai Gotzmann <self@ngotzmann.net>
This commit is contained in:
@ -95,10 +95,11 @@ export default {
|
||||
console.error(error);
|
||||
}
|
||||
},
|
||||
async submitFormEdit() {
|
||||
async submitFormEdit(isProfileVisible) {
|
||||
this.showErrorMessage = false
|
||||
this.showSuccessMessage = false
|
||||
const userId = store.state.currentUserId
|
||||
this.profile.visible = isProfileVisible;
|
||||
|
||||
try {
|
||||
const body = JSON.stringify(this.profile)
|
||||
|
Reference in New Issue
Block a user