Skip to content

Commit 479099e

Browse files
fix: APP-866 sell orders redirect bug
1 parent ed3d19f commit 479099e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web-marketplace/src/legacy-pages/Dashboard/Dashboard.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ export const Dashboard = () => {
389389
!targetCreditBatchesLoading) ||
390390
(section === 'credit-classes' &&
391391
!targetHasCreditClasses &&
392-
!targetCreditClassesLoading);
392+
!targetCreditClassesLoading) ||
393+
(section === 'sell-orders' &&
394+
!targetIsOrg &&
395+
!hasOrders &&
396+
!ordersLoading);
393397

394398
if (shouldFallback) return `${toBase}/portfolio`;
395399

0 commit comments

Comments
 (0)