akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -28,7 +28,28 @@ const app = new Vue({
data: function () {
return {
form: new Form('user'),
bulk_action: new BulkAction('users')
bulk_action: new BulkAction('users'),
show_password: false,
}
},
mounted() {
this.form.password = '';
},
methods: {
onChangePassword(event) {
if (this.show_password == false) {
event.target.closest('.grid-rows-3').classList.replace('grid-rows-3', 'grid-rows-4');
event.target.closest('.grid-rows-4').nextElementSibling.classList.replace('grid-rows-3', 'grid-rows-4');
this.show_password = true;
} else {
event.target.closest('.grid-rows-4').classList.replace('grid-rows-4', 'grid-rows-3');
event.target.closest('.grid-rows-3').nextElementSibling.classList.replace('grid-rows-4', 'grid-rows-3');
this.show_password = false;
}
},
}
});