fix: don't replace the last edited task with the one currently editing

This commit is contained in:
kolaente 2022-08-02 15:27:24 +02:00
parent e82a83c8cf
commit ad7ed86d36
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 4 additions and 17 deletions

View file

@ -93,12 +93,9 @@ import {success} from '@/message'
const {t} = useI18n({useScope: 'global'})
const router = useRouter()
const props = defineProps({
task: {
type: TaskModel,
required: true,
},
})
const props = defineProps<{
task?: TaskModel | null,
}>()
const taskService = shallowReactive(new TaskService())