16 lines
826 B
Markdown
16 lines
826 B
Markdown
# Summary - Admin UMKM & Produk Edit functionality
|
|
|
|
## Changes
|
|
- **Valtio State**: Added `update` and `del` methods for UMKM and Produk modules in `src/app/admin/(dashboard)/_state/ekonomi/umkm/umkm.ts`.
|
|
- **List Pages**: Updated `data-umkm/page.tsx` and `produk/page.tsx` to handle edit (navigation) and delete (confirmation modal + state action).
|
|
- **Edit Pages**:
|
|
- Created `src/app/admin/(dashboard)/ekonomi/umkm/data-umkm/[id]/edit/page.tsx`
|
|
- Created `src/app/admin/(dashboard)/ekonomi/umkm/produk/[id]/edit/page.tsx`
|
|
- **Component**: Integrated `ModalKonfirmasiHapus` with named import.
|
|
- **Version**: Bumped to `0.1.21`.
|
|
|
|
## Verification
|
|
- Successfully ran `bun run build`.
|
|
- Pushed to `tasks/admin-umkm-edit/implement-edit-delete/2026-04-24-11-44`.
|
|
- Merged to `stg` and pushed to `origin` and `deploy` remotes.
|