]> _ Git - psq.git/commitdiff
npm run
authorLouis Jeckel <louis.jeckel@outlook.cm>
Mon, 21 Sep 2020 08:34:36 +0000 (10:34 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Mon, 21 Sep 2020 08:34:36 +0000 (10:34 +0200)
public/admin/js/admin.js
public/js/app.js

index 6eb3767700bfeec475c54316bce5c5b2a1a1d400..fa47dde60be19243306655f7cbae98ffff497e84 100644 (file)
@@ -3215,9 +3215,9 @@ __webpack_require__.r(__webpack_exports__);
 
       if (e.status === 'done') {
         this.progressMode = 'determinate';
-        this.links = e.data.links;
         axios.get('/publish/file/' + e.data.file_id).then(function (data) {
-          _this.$root.publishState.file = data.data;
+          _this.$root.publishState.file = data.data.file;
+          _this.links = data.data.links;
           _this.status = 'done';
 
           _this.$emit('can-continue', {
index c2ce1afd151f8a273cb3cbc4e7147c60e4e5d768..99cea1c3848d6f7ac6b49c1535cc8935d5e5fe1f 100644 (file)
@@ -8410,9 +8410,9 @@ __webpack_require__.r(__webpack_exports__);
 
       if (e.status === 'done') {
         this.progressMode = 'determinate';
-        this.links = e.data.links;
         axios.get('/publish/file/' + e.data.file_id).then(function (data) {
-          _this.$root.publishState.file = data.data;
+          _this.$root.publishState.file = data.data.file;
+          _this.links = data.data.links;
           _this.status = 'done';
 
           _this.$emit('can-continue', {