From f20889e9625af910c06f22d78acc2d799bf2200b Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sun, 28 Jun 2026 23:28:14 +0700 Subject: [PATCH] refactor: simplify OwnerVerificationRowActions component by removing unused props and updating related usages in data table actions --- .../OwnerVerificationRowActions.vue | 18 ------------------ .../cuttings/table/data-table-actions.vue | 3 +-- .../purchases/table/data-table-actions.vue | 4 +--- .../products/table/data-table-actions.vue | 3 +-- .../raw-materials/table/data-table-actions.vue | 3 --- 5 files changed, 3 insertions(+), 28 deletions(-) diff --git a/resources/js/components/owner-verification/OwnerVerificationRowActions.vue b/resources/js/components/owner-verification/OwnerVerificationRowActions.vue index 21dff06..fd5d98b 100644 --- a/resources/js/components/owner-verification/OwnerVerificationRowActions.vue +++ b/resources/js/components/owner-verification/OwnerVerificationRowActions.vue @@ -24,9 +24,6 @@ import { approve, reject, approve_request, reject_request } from '@/routes/admin const props = defineProps<{ type: 'request' | 'cutting'; id: number; - title?: string; - subjectLabel?: string; - actionLabel?: string; }>(); const { can } = useCan(); @@ -98,21 +95,6 @@ function submitReject() {
-
-
- Modul: - {{ subjectLabel }} -
-
- Item: - {{ title }} -
-
- Aksi: - {{ actionLabel }} -
-
- Alasan Penolakan