fixed : whenever open modal that not come exiten data
This commit is contained in:
parent
85b4b830d3
commit
f867a692ed
@ -151,7 +151,7 @@ const Documents = ({ Document_Entity, Entity }) => {
|
||||
<DocumentFilterChips filters={filters} filterData={filterData} removeFilterChip={removeFilterChip} />
|
||||
<div className="row align-items-center">
|
||||
{/* Search */}
|
||||
<div className="d-flex col-8 col-md-8 col-lg-4 mb-md-0 align-items-center">
|
||||
<div className="d-flex flex-row gap-2 col-12 col-md-8 col-lg-4 mb-md-0 align-items-center mb-2">
|
||||
<div className="d-flex">
|
||||
{" "}
|
||||
<input
|
||||
@ -179,7 +179,7 @@ const Documents = ({ Document_Entity, Entity }) => {
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div className="col-6 col-md-6 col-lg-8 text-end">
|
||||
<div className="col-12 col-md-6 col-lg-8 text-end">
|
||||
{(isSelf || canUploadDocument) && (
|
||||
<button
|
||||
className="btn btn-sm btn-primary me-3"
|
||||
|
@ -42,7 +42,7 @@ const AboutProject = () => {
|
||||
{IsOpenModal && (
|
||||
<GlobalModel isOpen={IsOpenModal} closeModal={() => setIsOpenModal(false)}>
|
||||
<ManageProjectInfo
|
||||
project={projects_Details}
|
||||
project={projects_Details?.id}
|
||||
handleSubmitForm={handleFormSubmit}
|
||||
onClose={() => setIsOpenModal(false)}
|
||||
isPending={isPending}
|
||||
|
@ -42,7 +42,7 @@ const ManageProjectInfo = ({ project, onClose }) => {
|
||||
|
||||
const ACTIVE_STATUS_ID = "b74da4c2-d07e-46f2-9919-e75e49b12731";
|
||||
|
||||
const { projects_Details, loading } = useProjectDetails(project.id);
|
||||
const { projects_Details, loading } = useProjectDetails(project);
|
||||
// const { data, isLoading, isError, error } = useOrganizationsList(
|
||||
// ITEMS_PER_PAGE,
|
||||
// 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user