fix: remove obsolete code (#1097)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1097
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-11-27 19:33:37 +00:00 committed by konrad
parent b7ad29f056
commit 0c9dad9891

View file

@ -486,7 +486,6 @@ export default {
taskColor: '', taskColor: '',
showDeleteModal: false, showDeleteModal: false,
descriptionChanged: false,
// Used to avoid flashing of empty elements if the task content is not yet loaded. // Used to avoid flashing of empty elements if the task content is not yet loaded.
visible: false, visible: false,
@ -679,13 +678,6 @@ export default {
this.saveTask(true, this.toggleTaskDone) this.saveTask(true, this.toggleTaskDone)
}, },
setDescriptionChanged(e) {
if (e.key === 'Enter' || e.key === 'Control') {
return
}
this.descriptionChanged = true
},
async changeList(list) { async changeList(list) {
this.$store.commit('kanban/removeTaskInBucket', this.task) this.$store.commit('kanban/removeTaskInBucket', this.task)
this.task.listId = list.id this.task.listId = list.id