1
0

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
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())