diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-23 22:18:08 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-23 22:18:08 +0100 |
commit | 1761d3f9c33f3e2e98a09906fae1a03783b54b10 (patch) | |
tree | a047598877cca70ab7c7de695bf81c762ed5cc34 /app/assets/javascripts/components/actions | |
parent | d00189b55a2fe58f6ba6ccaa1f3712f55dc304dc (diff) |
Fix mistake
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r-- | app/assets/javascripts/components/actions/cards.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/cards.jsx b/app/assets/javascripts/components/actions/cards.jsx index 714e80525..845d15e93 100644 --- a/app/assets/javascripts/components/actions/cards.jsx +++ b/app/assets/javascripts/components/actions/cards.jsx @@ -9,7 +9,7 @@ export function fetchStatusCard(id) { dispatch(fetchStatusCardRequest(id)); api(getState).get(`/api/v1/statuses/${id}/card`).then(response => { - if (response.data.length === 0) { + if (!response.data.url) { return; } |