Browse Source

Fix failing case

jherve 1 năm trước cách đây
mục cha
commit
ff180c7780
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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}