diff options
author | Eugen <eugen@zeonfederated.com> | 2017-01-24 14:27:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 14:27:13 +0100 |
commit | 4f3264d2912d1b70a22099f1c713691f91ba890d (patch) | |
tree | 8a48ce38d47351bc3739cebd3672d40c98763807 /app/assets/javascripts/components/actions/cards.jsx | |
parent | 4a146a0d189280dbd15098f42850ca550e0d7910 (diff) | |
parent | 21c209636d12ea601379e7abd3d370ad0d22ea18 (diff) |
Merge branch 'master' into boostspin
Diffstat (limited to 'app/assets/javascripts/components/actions/cards.jsx')
-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 845d15e93..503c2bfeb 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.url) { + if (!response.data.url || !response.data.title || !response.data.description) { return; } |