fix(plan): move Applicable Rules panel to TaskEditorView (the routed task surface)
This commit is contained in:
@@ -25,6 +25,7 @@ import DiffView from "@/components/DiffView.vue";
|
||||
import ConfirmDialog from "@/components/ConfirmDialog.vue";
|
||||
import VersionHistorySection from "@/components/VersionHistorySection.vue";
|
||||
import RecurrenceEditor from "@/components/RecurrenceEditor.vue";
|
||||
import PlanRulesPanel from "@/components/rules/PlanRulesPanel.vue";
|
||||
import { Trash2 } from "lucide-vue-next";
|
||||
|
||||
const route = useRoute();
|
||||
@@ -514,6 +515,12 @@ useEditorGuards(dirty, save);
|
||||
|
||||
<!-- Work log -->
|
||||
<TaskLogSection v-if="taskId" :task-id="taskId" class="body-log" />
|
||||
|
||||
<!-- Applicable rules (plan tasks only) -->
|
||||
<PlanRulesPanel
|
||||
v-if="store.currentTask?.task_kind === 'plan' && store.currentTask?.project_id"
|
||||
:project-id="store.currentTask.project_id"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- ── Sidebar ──────────────────────────────────────────────── -->
|
||||
|
||||
Reference in New Issue
Block a user