Skip to content

Commit bed176c

Browse files
committed
wip
1 parent 6957b0e commit bed176c

File tree

7 files changed

+29
-0
lines changed

7 files changed

+29
-0
lines changed

resources/js/components/assets/Editor/Editor.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
<!-- Fields Area -->
201201
<publish-container
202202
v-if="fields"
203+
ref="container"
203204
:name="publishContainer"
204205
:blueprint="fieldset"
205206
:values="values"
@@ -344,6 +345,10 @@ export default {
344345
},
345346
346347
computed: {
348+
store() {
349+
return this.$refs.container.store;
350+
},
351+
347352
isImage() {
348353
if (!this.asset) return false;
349354

resources/js/components/entries/PublishForm.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,10 @@ export default {
450450
},
451451
452452
computed: {
453+
store() {
454+
return this.$refs.container.store;
455+
},
456+
453457
formattedTitle() {
454458
return striptags(__(this.title));
455459
},

resources/js/components/globals/PublishForm.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ export default {
149149
},
150150
151151
computed: {
152+
store() {
153+
return this.$refs.container.store;
154+
},
155+
152156
hasErrors() {
153157
return this.error || Object.keys(this.errors).length;
154158
},

resources/js/components/structures/PageEditor.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ export default {
116116
},
117117
118118
computed: {
119+
store() {
120+
return this.$refs.container.store;
121+
},
122+
119123
headerText() {
120124
return this.entry ? __('Link to Entry') : __('Nav Item');
121125
},

resources/js/components/terms/PublishForm.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,10 @@ export default {
371371
},
372372
373373
computed: {
374+
store() {
375+
return this.$refs.container.store;
376+
},
377+
374378
formattedTitle() {
375379
return striptags(__(this.title));
376380
},

resources/js/components/user-groups/PublishForm.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ export default {
7070
},
7171
7272
computed: {
73+
store() {
74+
return this.$refs.container.store;
75+
},
76+
7377
hasErrors() {
7478
return this.error || Object.keys(this.errors).length;
7579
},

resources/js/components/users/PublishForm.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ export default {
9898
},
9999
100100
computed: {
101+
store() {
102+
return this.$refs.container.store;
103+
},
104+
101105
hasErrors() {
102106
return this.error || Object.keys(this.errors).length;
103107
},

0 commit comments

Comments
 (0)