diff --git a/app/components/board-collaborator-list/index.vue b/app/components/board-collaborator-list/index.vue index 2643940..cf51e5a 100644 --- a/app/components/board-collaborator-list/index.vue +++ b/app/components/board-collaborator-list/index.vue @@ -10,12 +10,11 @@ const props = withDefaults( */ ownerFirst?: boolean; /** - * If provided, the list will render at most `limit` collaborators. If - * there are more than `limit` collaborators, the `limit`-th element on the - * list will be a placeholder for the number of remaining collaborators. + * If provided, the list will render at most `limit` collaborators. If there + * are more than `limit` collaborators, the `limit`-th element on the list + * will be a placeholder for the number of remaining collaborators. * * If this number is less than 1, the list will render all collaborators. - * */ limit?: number; }>(), @@ -64,6 +63,8 @@ const collapsedCollaboratorsText = computed(() => .join("\n") : "", ); + +const { toggleAssignee, filters } = useBoardFilters(); diff --git a/app/components/mini-task.vue b/app/components/mini-task.vue index 94d1e13..ce86288 100644 --- a/app/components/mini-task.vue +++ b/app/components/mini-task.vue @@ -7,6 +7,7 @@ const props = defineProps<{ onDragStart?: (event: DragEvent, task: Task) => void; }>(); +const route = useRoute(); const { labels } = inject(BOARD_DATA_KEY)!; const isDragging = ref(false); @@ -36,6 +37,10 @@ const labelMap = computed(() => { }, {}) ?? {} ); }); + +const toLink = computed(() => { + return { query: { ...route.query, "view-task": props.task.id } }; +});