Merge pull request #1087 from esteemapp/hotfix/draft

Fixed same description issue on drafts
This commit is contained in:
uğur erdal 2019-08-27 10:34:22 +03:00 committed by GitHub
commit 80419784f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class DraftsScreen extends Component {
const tags = item.tags ? item.tags.split(/[ ,]+/) : []; const tags = item.tags ? item.tags.split(/[ ,]+/) : [];
const tag = tags[0] || ''; const tag = tags[0] || '';
const image = catchDraftImage(item.body); const image = catchDraftImage(item.body);
const summary = postBodySummary(item, 100); const summary = postBodySummary({ item, last_update: item.created }, 100);
const isSchedules = type === 'schedules'; const isSchedules = type === 'schedules';
return ( return (