diff --git a/src/views/post/PostEdit.vue b/src/views/post/PostEdit.vue index 3329c255..23b09e91 100644 --- a/src/views/post/PostEdit.vue +++ b/src/views/post/PostEdit.vue @@ -180,7 +180,7 @@ export default { apiClient.post .getPreviewLinkById(this.postToStage.id) .then(response => { - window.open(response.data, '_blank') + window.open(response, '_blank') this.handleRestoreSavedStatus() }) .finally(() => { @@ -197,7 +197,7 @@ export default { apiClient.post .getPreviewLinkById(this.postToStage.id) .then(response => { - window.open(response.data, '_blank') + window.open(response, '_blank') this.handleRestoreSavedStatus() }) .finally(() => { diff --git a/src/views/sheet/SheetEdit.vue b/src/views/sheet/SheetEdit.vue index eea9035c..9d2b70e0 100644 --- a/src/views/sheet/SheetEdit.vue +++ b/src/views/sheet/SheetEdit.vue @@ -176,7 +176,7 @@ export default { apiClient.sheet .getPreviewLinkById(this.sheetToStage.id) .then(response => { - window.open(response.data, '_blank') + window.open(response, '_blank') this.handleRestoreSavedStatus() }) .finally(() => { @@ -192,7 +192,7 @@ export default { apiClient.sheet .getPreviewLinkById(this.sheetToStage.id) .then(response => { - window.open(response.data, '_blank') + window.open(response, '_blank') this.handleRestoreSavedStatus() }) .finally(() => {