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} />
|
<DocumentFilterChips filters={filters} filterData={filterData} removeFilterChip={removeFilterChip} />
|
||||||
<div className="row align-items-center">
|
<div className="row align-items-center">
|
||||||
{/* Search */}
|
{/* 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">
|
<div className="d-flex">
|
||||||
{" "}
|
{" "}
|
||||||
<input
|
<input
|
||||||
@ -179,7 +179,7 @@ const Documents = ({ Document_Entity, Entity }) => {
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</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) && (
|
{(isSelf || canUploadDocument) && (
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-primary me-3"
|
className="btn btn-sm btn-primary me-3"
|
||||||
|
@ -42,7 +42,7 @@ const AboutProject = () => {
|
|||||||
{IsOpenModal && (
|
{IsOpenModal && (
|
||||||
<GlobalModel isOpen={IsOpenModal} closeModal={() => setIsOpenModal(false)}>
|
<GlobalModel isOpen={IsOpenModal} closeModal={() => setIsOpenModal(false)}>
|
||||||
<ManageProjectInfo
|
<ManageProjectInfo
|
||||||
project={projects_Details}
|
project={projects_Details?.id}
|
||||||
handleSubmitForm={handleFormSubmit}
|
handleSubmitForm={handleFormSubmit}
|
||||||
onClose={() => setIsOpenModal(false)}
|
onClose={() => setIsOpenModal(false)}
|
||||||
isPending={isPending}
|
isPending={isPending}
|
||||||
|
@ -42,7 +42,7 @@ const ManageProjectInfo = ({ project, onClose }) => {
|
|||||||
|
|
||||||
const ACTIVE_STATUS_ID = "b74da4c2-d07e-46f2-9919-e75e49b12731";
|
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(
|
// const { data, isLoading, isError, error } = useOrganizationsList(
|
||||||
// ITEMS_PER_PAGE,
|
// ITEMS_PER_PAGE,
|
||||||
// 1,
|
// 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user