fix Delete and Insert Todo... (after changed function find, findIndex...)

This commit is contained in:
Paolo Arena
2019-03-22 01:00:41 +01:00
parent e0a88df630
commit a2c1a90050
8 changed files with 63 additions and 40 deletions

View File

@@ -10,9 +10,11 @@ export async function askConfirm($q: any, mytitle, mytext, ok, cancel) {
push: true
},
title: mytitle
}).then((ris) => {
return ris
}).catch(() => {
}).onOk(() => {
console.log('OK')
return true
}).onCancel(() => {
console.log('CANCEL')
return false
})
} catch (e) {