feat: save current list view just once
This commit is contained in:
parent
7eed0628d0
commit
29a9335844
5 changed files with 6 additions and 28 deletions
|
|
@ -66,7 +66,6 @@
|
|||
|
||||
<script setup>
|
||||
import { ref, computed } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import flatPickr from 'vue-flatpickr-component'
|
||||
|
||||
import { i18n } from '@/i18n'
|
||||
|
|
@ -76,13 +75,6 @@ import ListWrapper from './ListWrapper'
|
|||
import GanttChart from '@/components/tasks/gantt-component'
|
||||
import Fancycheckbox from '@/components/input/fancycheckbox'
|
||||
|
||||
import {saveListView} from '@/helpers/saveListView'
|
||||
|
||||
const route = useRoute()
|
||||
// Save the current list view to local storage
|
||||
// We use local storage and not vuex here to make it persistent across reloads.
|
||||
saveListView(route.params.listId, route.name)
|
||||
|
||||
const showTaskswithoutDates = ref(false)
|
||||
const dayWidth = ref(35)
|
||||
const dateFrom = ref(new Date((new Date()).setDate((new Date()).getDate() - 15)))
|
||||
|
|
|
|||
Reference in a new issue