Added Document Managment feature #388

Merged
pramod.mahajan merged 124 commits from Document_Manag into main 2025-09-10 14:34:35 +00:00
Showing only changes of commit 13a517f998 - Show all commits

View File

@ -19,6 +19,7 @@ import { isPending } from "@reduxjs/toolkit";
import { useHasUserPermission } from "../../hooks/useHasUserPermission";
import { useProfile } from "../../hooks/useProfile";
import { useParams } from "react-router-dom";
import showToast from "../../services/toastService";
const DocumentsList = ({
Document_Entity,
@ -105,6 +106,7 @@ const DocumentsList = ({
{
onSettled: () => {
setRestoringIds((prev) => prev.filter((id) => id !== docId));
showToast("Document restored successfully","success")
refetch();
},
}