File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/features/feeds/components Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ const SmartDataTHead = ({ showExtraDetails }: { showExtraDetails: boolean }) =>
345345)
346346
347347const 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 }
You can’t perform that action at this time.
0 commit comments