feat(plan): plan-task viewer shows Applicable Rules panel
This commit is contained in:
@@ -10,6 +10,7 @@ import type { Note } from "@/types/note";
|
||||
import type { TaskStatus } from "@/types/task";
|
||||
import StatusBadge from "@/components/StatusBadge.vue";
|
||||
import PriorityBadge from "@/components/PriorityBadge.vue";
|
||||
import PlanRulesPanel from "@/components/rules/PlanRulesPanel.vue";
|
||||
import TagPill from "@/components/TagPill.vue";
|
||||
import TableOfContents from "@/components/TableOfContents.vue";
|
||||
import ShareDialog from "@/components/ShareDialog.vue";
|
||||
@@ -379,6 +380,12 @@ const subTaskProgress = computed(() => {
|
||||
@click="onBodyClick"
|
||||
></div>
|
||||
|
||||
<!-- Applicable rules (plan tasks only) -->
|
||||
<PlanRulesPanel
|
||||
v-if="store.currentTask.task_kind === 'plan' && store.currentTask.project_id"
|
||||
:project-id="store.currentTask.project_id"
|
||||
/>
|
||||
|
||||
<!-- Sub-tasks -->
|
||||
<div v-if="subTasks.length" class="subtasks">
|
||||
<div class="subtasks-header">
|
||||
|
||||
Reference in New Issue
Block a user