소스 검색

Fix failing case

jherve 1 년 전
부모
커밋
17582fe8a4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/LinkedIn/UI/Components/JobsUnifiedTopCard.purs

+ 1 - 1
src/LinkedIn/UI/Components/JobsUnifiedTopCard.purs

@@ -141,7 +141,7 @@ instance Traversable TopCardInsight where
 
 instance Queryable q => CanBeQueried q TopCardInsight where
   query n = do
-    icon <- queryOne ":scope li-icon" n <|> queryOne ":scope svg" n
+    icon <- queryOne ":scope li-icon" n <|> queryOne ":scope svg" n <|> queryOne ":scope img" n
     content <- subQueryOne ":scope > span" n <|> subQueryOne ":scope > button" n
 
     pure $ TopCardInsight {icon, content}