mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +03:00
Updated deeplink func
This commit is contained in:
parent
569e2d5abe
commit
e17a6680ad
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user