fix: remove obsolet code (#1312)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1312
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
Dominik Pschenitschni 2022-01-06 10:34:14 +00:00 committed by konrad
parent e762f7f073
commit 49a6569db0

View file

@ -78,7 +78,6 @@
<script> <script>
import AsyncEditor from '@/components/input/AsyncEditor' import AsyncEditor from '@/components/input/AsyncEditor'
import ListService from '../../services/list'
import TaskService from '../../services/task' import TaskService from '../../services/task'
import TaskModel from '../../models/task' import TaskModel from '../../models/task'
import priorities from '../../models/constants/priorities' import priorities from '../../models/constants/priorities'
@ -90,14 +89,10 @@ export default {
name: 'edit-task', name: 'edit-task',
data() { data() {
return { return {
listId: this.$route.params.id,
listService: new ListService(),
taskService: new TaskService(), taskService: new TaskService(),
priorities: priorities, priorities: priorities,
list: {},
editorActive: false, editorActive: false,
newTask: new TaskModel(),
isTaskEdit: false, isTaskEdit: false,
taskEditTask: TaskModel, taskEditTask: TaskModel,
} }