feat: working route sync
This commit is contained in:

committed by
kolaente

parent
9f146c8c7f
commit
acdbf2f8f5
@ -186,19 +186,6 @@ watch(config, () => {
|
||||
});
|
||||
}, {deep:true})
|
||||
|
||||
|
||||
|
||||
// watch(root, () => {
|
||||
// if (
|
||||
// fp.value || // Return early if flatpickr is already loaded
|
||||
// !root.value // our input needs to be mounted
|
||||
// ) {
|
||||
// return
|
||||
// }
|
||||
|
||||
|
||||
// })
|
||||
|
||||
const fpInput = computed(() => {
|
||||
if (!fp.value) return
|
||||
return fp.value.altInput || fp.value.input;
|
||||
|
@ -71,13 +71,12 @@ export type DateRange = {
|
||||
dateTo: string,
|
||||
}
|
||||
|
||||
export interface GanttChartProps {
|
||||
export interface GanttChartProps extends DateRange {
|
||||
listId: IList['id']
|
||||
dateRange: DateRange
|
||||
showTasksWithoutDates: boolean
|
||||
}
|
||||
|
||||
export const DATE_FORMAT = 'yyyy-LL-dd HH:mm'
|
||||
// export const DATE_FORMAT = 'yyyy-LL-dd HH:mm'
|
||||
|
||||
const props = withDefaults(defineProps<GanttChartProps>(), {
|
||||
showTasksWithoutDates: false,
|
||||
|
Reference in New Issue
Block a user