We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1742e30 commit 0361f79Copy full SHA for 0361f79
1 file changed
resources/js/components/blueprints/Tabs.vue
@@ -128,7 +128,7 @@ export default {
128
129
data() {
130
return {
131
- tabs: this.initialTabs,
+ tabs: clone(this.initialTabs),
132
currentTab: this.initialTabs.length ? this.initialTabs[0]._id : null,
133
lastInteractedTab: null,
134
hiddenTabs: [],
@@ -142,10 +142,13 @@ export default {
142
},
143
144
watch: {
145
- tabs(tabs) {
146
- this.$emit('updated', tabs);
147
- this.makeSortable();
148
- },
+ tabs: {
+ deep: true,
+ handler(tabs) {
+ this.$emit('updated', tabs);
149
+ this.makeSortable();
150
+ },
151
152
153
154
mounted() {
0 commit comments