Skip to content

Commit fb78897

Browse files
committed
fix merge
1 parent 098a424 commit fb78897

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/features/feeds/components/Tables.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ const SmartDataTHead = ({ showExtraDetails }: { showExtraDetails: boolean }) =>
345345
)
346346

347347
const SmartDataTr = ({ network, metadata, showExtraDetails, batchedCategoryData }) => {
348-
// MVR badge only when explicitly flagged and has decoding schema
348+
// Check if this is an MVR feed
349349
const hasDecoding = Array.isArray(metadata.docs?.decoding) && metadata.docs.decoding.length > 0
350350
const finalIsMVRFeed = metadata.docs?.isMVR === true && hasDecoding
351351

@@ -978,9 +978,12 @@ export const MainnetTable = ({
978978
const isValidStreamsFeed =
979979
metadata.contractType === "verifier" &&
980980
(metadata.docs.feedType === "Crypto" || metadata.docs.feedType === "Crypto-DEX")
981-
return showOnlyDEXFeeds ? isValidStreamsFeed && metadata.docs.feedType === "Crypto-DEX" : isValidStreamsFeed
982-
}
983981

982+
if (showOnlyDEXFeeds) {
983+
return isValidStreamsFeed && metadata.docs.feedType === "Crypto-DEX"
984+
}
985+
986+
return isValidStreamsFeed }
984987
if (dataFeedType === "streamsRwa") {
985988
return metadata.contractType === "verifier" && metadata.docs.feedType === "Equities"
986989
}

0 commit comments

Comments
 (0)