upd: task division

Deskripsi:
- tambah task division
- hapus task division yg telah dibatalkan
- akses user sesuai dengan role

No Issuese
This commit is contained in:
amel
2025-05-27 12:20:47 +08:00
parent bc74be122d
commit 42f6257d03
9 changed files with 672 additions and 64 deletions

View File

@@ -14,7 +14,7 @@ export default function TaskDivisionCancel() {
const { id, detail } = useLocalSearchParams<{ id: string; detail: string }>();
const { token, decryptToken } = useAuthSession();
const dispatch = useDispatch();
const update = useSelector((state: any) => state.projectUpdate);
const update = useSelector((state: any) => state.taskUpdate);
const [reason, setReason] = useState("");
const [error, setError] = useState(false);
const [disable, setDisable] = useState(false);