Fix mistake

master
Eugen Rochko 8 years ago
parent d00189b55a
commit 1761d3f9c3
  1. 2
      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;
}

Loading…
Cancel
Save