This commit is contained in:
@@ -127,8 +127,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateSettings: function() {
|
updateSettings: function() {
|
||||||
//save the settings here and trigger save of all settings or something?? not clear
|
this.$emit("dash-change");
|
||||||
//emit an update and this id I guess? and let home-dashboard save all settings
|
|
||||||
this.context = false;
|
this.context = false;
|
||||||
},
|
},
|
||||||
loadData: function() {
|
loadData: function() {
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
@dash-move-back="dashMoveBack"
|
@dash-move-back="dashMoveBack"
|
||||||
@dash-move-forward="dashMoveForward"
|
@dash-move-forward="dashMoveForward"
|
||||||
@dash-move-end="dashMoveEnd"
|
@dash-move-end="dashMoveEnd"
|
||||||
|
@dash-change="dashSaveSettings"
|
||||||
>
|
>
|
||||||
</component>
|
</component>
|
||||||
</v-col>
|
</v-col>
|
||||||
@@ -146,9 +147,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// hasItems: function() {
|
dashSaveSettings: function() {
|
||||||
// return this.effectiveView && this.effectiveView.length > 0;
|
this.saveView();
|
||||||
// },
|
},
|
||||||
dashMoveStart: function(id) {
|
dashMoveStart: function(id) {
|
||||||
this.move("start", id);
|
this.move("start", id);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user