Fix mistake
parent
9650e27b7b
commit
b1322bf315
|
@ -9,7 +9,7 @@ export function fetchStatusCard(id) {
|
||||||
dispatch(fetchStatusCardRequest(id));
|
dispatch(fetchStatusCardRequest(id));
|
||||||
|
|
||||||
api(getState).get(`/api/v1/statuses/${id}/card`).then(response => {
|
api(getState).get(`/api/v1/statuses/${id}/card`).then(response => {
|
||||||
if (response.data.length === 0) {
|
if (!response.data.url) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue