Drag & Drop hand made... but don't working with the touch

This commit is contained in:
Paolo Arena
2019-02-19 18:44:48 +01:00
parent ec49343556
commit 1eca13c27f
13 changed files with 259 additions and 70 deletions

View File

@@ -55,7 +55,7 @@ export namespace ApiTool {
return sendRequest(url, method, mydata)
.then(res => {
console.log('res', res)
// console.log('res', res)
UserStore.mutations.setResStatus(res.status)
if (res.status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN) {
@@ -108,7 +108,7 @@ export namespace ApiTool {
const promises = myrecs.map(rec => {
// console.log('syncing', table, '', rec.descr)
let link = process.env.MONGODB_HOST + '/todos'
let link = String(process.env.MONGODB_HOST) + '/todos'
if (method !== 'POST')
link += '/' + rec._id