Skip to content

Commit

Permalink
Merge pull request #52152 from callstack-internal/feat/51914
Browse files Browse the repository at this point in the history
Workspace Feed - Use full cardsList instead of user cardList
  • Loading branch information
mountiny authored Nov 8, 2024
2 parents 0cd2e04 + 397cb8d commit bd880d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function WorkspaceCompanyCardDetailsPage({route}: WorkspaceCompanyCardDetailsPag
const connectedIntegration = getConnectedIntegration(policy, accountingIntegrations) ?? connectionSyncProgress?.connectionName;

const [personalDetails] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST);
const [allBankCards, allBankCardsMetadata] = useOnyx(`${ONYXKEYS.CARD_LIST}`);
const [allBankCards, allBankCardsMetadata] = useOnyx(`${ONYXKEYS.COLLECTION.WORKSPACE_CARDS_LIST}${workspaceAccountID}_${bank}`);
const card = allBankCards?.[cardID];

const cardBank = card?.bank ?? '';
Expand Down

0 comments on commit bd880d1

Please sign in to comment.