1
0

fix: list title not set as page title after closing a task popup

This commit is contained in:
kolaente
2022-05-08 11:58:37 +02:00
parent 21a8298a96
commit a38bd7e971
3 changed files with 14 additions and 5 deletions

View File

@ -443,7 +443,7 @@ import {CURRENT_LIST} from '@/store/mutation-types'
import {uploadFile} from '@/helpers/attachments'
import ChecklistSummary from '../../components/tasks/partials/checklist-summary'
import CreatedUpdated from '@/components/tasks/partials/createdUpdated'
import { setTitle } from '@/helpers/setTitle'
export default defineComponent({
name: 'TaskDetailView',
@ -575,7 +575,8 @@ export default defineComponent({
this.$store.commit('attachments/set', this.task.attachments)
this.taskColor = this.task.hexColor
this.setActiveFields()
this.setTitle(this.task.title)
await this.$nextTick()
setTitle(this.task.title)
} finally {
this.scrollToHeading()
await this.$nextTick()