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

@ -235,12 +235,12 @@ import BucketModel from '../../models/bucket'
import {mapState} from 'vuex'
import Rights from '../../models/constants/rights.json'
import {LOADING, LOADING_MODULE} from '@/store/mutation-types'
import ListWrapper from './ListWrapper'
import ListWrapper from './ListWrapper.vue'
import FilterPopup from '@/components/list/partials/filter-popup.vue'
import Dropdown from '@/components/misc/dropdown.vue'
import {getCollapsedBucketState, saveCollapsedBucketState} from '@/helpers/saveCollapsedBucketState'
import {calculateItemPosition} from '../../helpers/calculateItemPosition'
import KanbanCard from '@/components/tasks/partials/kanban-card'
import KanbanCard from '@/components/tasks/partials/kanban-card.vue'
const DRAG_OPTIONS = {
// sortable options

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