Skip to content

Commit d51db1c

Browse files
committed
Fix org mcps not refreshing
1 parent d9673ce commit d51db1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webview-ui/src/components/marketplace/useStateManager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ export function useStateManager(existingManager?: MarketplaceViewStateManager) {
1313
prevState.isFetching !== newState.isFetching ||
1414
prevState.activeTab !== newState.activeTab ||
1515
JSON.stringify(prevState.allItems) !== JSON.stringify(newState.allItems) ||
16+
JSON.stringify(prevState.organizationMcps) !== JSON.stringify(newState.organizationMcps) ||
1617
JSON.stringify(prevState.displayItems) !== JSON.stringify(newState.displayItems) ||
18+
JSON.stringify(prevState.displayOrganizationMcps) !==
19+
JSON.stringify(newState.displayOrganizationMcps) ||
1720
JSON.stringify(prevState.filters) !== JSON.stringify(newState.filters)
1821

1922
return hasChanged ? newState : prevState

0 commit comments

Comments
 (0)