Updated deeplink func

This commit is contained in:
Mustafa Buyukcelebi 2019-08-28 17:35:28 +03:00
parent 569e2d5abe
commit e17a6680ad

View File

@ -217,7 +217,9 @@ class ApplicationContainer extends Component {
await getPost(author, permlink, currentAccount.name)
.then(result => {
content = result;
isHasParentPost = get(result, 'parent_permlink');
if (get(result, 'parent_permlink') && get(result, 'parent_author')) {
isHasParentPost = true;
}
})
.catch(() => {
this._handleAlert('deep_link.no_existing_post');