Compare commits

..

2 Commits

Author SHA1 Message Date
b7420a1df6 Merge pull request 'fix' (#99) from fix-logic-limitation into test
Reviewed-on: #99
2026-08-18 13:04:20 +03:00
PotapovaA
a76909ad3a fix 2026-08-18 13:02:43 +03:00

View File

@ -89,6 +89,8 @@ const SummaryPage = () => {
useEffect(() => { useEffect(() => {
let active = true; let active = true;
if (!user || isLoading) return undefined;
const loadProjects = async () => { const loadProjects = async () => {
setIsProjectsLoading(true); setIsProjectsLoading(true);
try { try {
@ -108,7 +110,7 @@ const SummaryPage = () => {
return () => { return () => {
active = false; active = false;
}; };
}, [selectedBranch?.id, projectsReloadKey]); }, [user, isLoading, selectedBranch?.id, projectsReloadKey]);
useEffect(() => { useEffect(() => {
let active = true; let active = true;
@ -472,7 +474,7 @@ const SummaryPage = () => {
initialState: { initialState: {
columnPinning: { right: ['actions'], left: ['mrt-row-expand', 'project'] }, columnPinning: { right: ['actions'], left: ['mrt-row-expand', 'project'] },
}, },
state: { isLoading: isProjectsLoading }, state: { isLoading: isLoading || isProjectsLoading },
}); });
const summaryProjectTable = useMaterialReactTable({ const summaryProjectTable = useMaterialReactTable({