diff --git a/frontend/src/component/project/Project/Project.tsx b/frontend/src/component/project/Project/Project.tsx index 45529fc76f..573f3afda2 100644 --- a/frontend/src/component/project/Project/Project.tsx +++ b/frontend/src/component/project/Project/Project.tsx @@ -64,7 +64,7 @@ export const Project = () => { const projectId = useRequiredPathParam('projectId'); const params = useQueryParams(); const { project, loading, error, refetch } = useProject(projectId); - const ref = useLoading(loading); + const ref = useLoading(loading, '[data-loading-project=true]'); const { setToastData, setToastApiError } = useToast(); const [modalOpen, setModalOpen] = useState(false); const navigate = useNavigate(); @@ -193,7 +193,7 @@ export const Project = () => { condition={project?.mode === 'private'} show={} /> - + {projectName} @@ -210,7 +210,7 @@ export const Project = () => { onClick={() => setModalOpen(true)} tooltipProps={{ title: 'Import' }} data-testid={IMPORT_BUTTON} - data-loading + data-loading-project > @@ -232,7 +232,7 @@ export const Project = () => { {filteredTabs.map((tab) => { return (