Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (nextProps.editing) {
- // we are already editing this record, no need to send a request
- nextProps.recordStartWorkSuccessAction(record);
- } else {
- nextProps.startRecordPreview(record);
- }
- this.pdf = new Pdf({
- url: RecordsService.getPdfDownloadUrl(nextProps.id),
- meta: record.meta,
- });
- this.pdf.previewMeta = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement