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