1
0

feat: working route sync

This commit is contained in:
Dominik Pschenitschni
2022-10-11 13:22:57 +02:00
committed by kolaente
parent 9f146c8c7f
commit acdbf2f8f5
4 changed files with 114 additions and 141 deletions

View File

@ -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;

View File

@ -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,