@bufferapp/analyze-shared-components
Advanced tools
Comparing version 1.60.0 to 1.60.2
@@ -79,3 +79,3 @@ import React, { useEffect } from "react"; | ||
return { | ||
serviceId: profile.id, | ||
serviceId: profile.serviceId, | ||
serviceType: profile.service, | ||
@@ -82,0 +82,0 @@ ...variables, |
@@ -74,3 +74,3 @@ import { gql } from '@apollo/client'; | ||
const variables = formatQueryVariables({ | ||
id: 'linkedin42', | ||
serviceId: 'linkedin42', | ||
service: 'linkedin', | ||
@@ -77,0 +77,0 @@ }, { |
{ | ||
"name": "@bufferapp/analyze-shared-components", | ||
"version": "1.60.0", | ||
"version": "1.60.2", | ||
"description": "Shared components for Analyze", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "b0ec7e86715e4683a89c7e5ae724adafee4e0ae2" | ||
"gitHead": "975cf467d03ca2ef0c494d7c77893343ca0b968c" | ||
} |
@@ -59,3 +59,3 @@ import React from 'react'; | ||
function hasAttachment(type, media) { | ||
return (['picture', 'photo', 'video', 'image', 'carousel_album', 'link', 'animated_gif'].includes(type) && media); | ||
return (['picture', 'photo', 'video', 'image', 'carousel_album', 'link', 'animated_gif', 'rich'].includes(type.toLowerCase()) && media); | ||
} | ||
@@ -62,0 +62,0 @@ |
327385
138
12639