This commit is contained in:
@@ -115,27 +115,24 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
dashMoveStart: function(item) {
|
dashMoveStart: function(id) {
|
||||||
console.log("home-dashboard:dashMoveStart", item);
|
console.log("home-dashboard:dashMoveStart", id);
|
||||||
},
|
},
|
||||||
dashMoveBack: function(item) {
|
dashMoveBack: function(id) {
|
||||||
console.log("home-dashboard:dashMoveBack", item);
|
console.log("home-dashboard:dashMoveBack", id);
|
||||||
},
|
},
|
||||||
dashMoveForward: function(item) {
|
dashMoveForward: function(id) {
|
||||||
console.log("home-dashboard:dashMoveForward", item);
|
console.log("home-dashboard:dashMoveForward", id);
|
||||||
},
|
},
|
||||||
dashMoveEnd: function(item) {
|
dashMoveEnd: function(id) {
|
||||||
console.log("home-dashboard:dashMoveEnd", item);
|
console.log("home-dashboard:dashMoveEnd", id);
|
||||||
},
|
},
|
||||||
dashRemove: function(id) {
|
dashRemove: function(id) {
|
||||||
let index = this.getEffectiveViewItemIndexById(id);
|
let index = this.getEffectiveViewItemIndexById(id);
|
||||||
console.log(id);
|
|
||||||
console.log("remove effective index for item is ", index);
|
|
||||||
if (index == -1) {
|
if (index == -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.effectiveView.splice(index, 1);
|
this.effectiveView.splice(index, 1);
|
||||||
//
|
|
||||||
},
|
},
|
||||||
dashRefresh: function(item) {
|
dashRefresh: function(item) {
|
||||||
console.log(
|
console.log(
|
||||||
@@ -148,7 +145,6 @@ export default {
|
|||||||
},
|
},
|
||||||
addItem: function(item) {
|
addItem: function(item) {
|
||||||
this.showSelector = false;
|
this.showSelector = false;
|
||||||
//add to effective view
|
|
||||||
this.effectiveView.push(item);
|
this.effectiveView.push(item);
|
||||||
//save effective view as saved View
|
//save effective view as saved View
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user