Commit 7e4c70ec authored by Phil Hughes's avatar Phil Hughes

Fixed bug when moving list

parent 5e0b2941
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
}, },
moveList (listFrom, orderLists) { moveList (listFrom, orderLists) {
orderLists.forEach((id, i) => { orderLists.forEach((id, i) => {
const list = this.findList('id', id); const list = this.findList('id', parseInt(id));
list.position = i; list.position = i;
}); });
......
...@@ -46,7 +46,6 @@ const BoardsMockData = { ...@@ -46,7 +46,6 @@ const BoardsMockData = {
Vue.http.interceptors.push((request, next) => { Vue.http.interceptors.push((request, next) => {
const body = BoardsMockData[request.method][request.url]; const body = BoardsMockData[request.method][request.url];
console.log(request.url);
next(request.respondWith(JSON.stringify(body), { next(request.respondWith(JSON.stringify(body), {
status: 200 status: 200
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment