v2 up caomvai3

This commit is contained in:
2018-11-28 21:08:48 +01:00
parent f99f96d0c2
commit 0e31785d20
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Nov 28 2018 21:07:03 GMT+0100 (CET)*/ /*Generated on:Wed Nov 28 2018 21:08:48 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+5 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Nov 28 2018 21:07:03 GMT+0100 (CET)*/ /*Generated on:Wed Nov 28 2018 21:08:48 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -4687,13 +4687,17 @@ class AutomaticDispose {
OpenNextRescueSprechwunsch() { OpenNextRescueSprechwunsch() {
let that = this; let that = this;
console.log('OpenNextRescueSprechwunsch on');
this.ADSettings().then((setting) => { this.ADSettings().then((setting) => {
console.log('OpenNextRescueSprechwunsch', setting);
if (setting['Sprechwunsch-Automatic'] == 'true') { if (setting['Sprechwunsch-Automatic'] == 'true') {
return that.ADisDB.ADisSprechwunsch.where({ return that.ADisDB.ADisSprechwunsch.where({
done: 'false' done: 'false'
}).limit(1) }).limit(1)
} }
}).then((Wunsch) => { }).then((Wunsch) => {
console.log('OpenNextRescueSprechwunsch', myWunsch);
if (Wunsch !== undefined) { if (Wunsch !== undefined) {
Wunsch.each((myWunsch) => { Wunsch.each((myWunsch) => {
console.table(myWunsch); console.table(myWunsch);
+4
View File
@@ -212,13 +212,17 @@ class AutomaticDispose {
OpenNextRescueSprechwunsch() { OpenNextRescueSprechwunsch() {
let that = this; let that = this;
console.log('OpenNextRescueSprechwunsch on');
this.ADSettings().then((setting) => { this.ADSettings().then((setting) => {
console.log('OpenNextRescueSprechwunsch', setting);
if (setting['Sprechwunsch-Automatic'] == 'true') { if (setting['Sprechwunsch-Automatic'] == 'true') {
return that.ADisDB.ADisSprechwunsch.where({ return that.ADisDB.ADisSprechwunsch.where({
done: 'false' done: 'false'
}).limit(1) }).limit(1)
} }
}).then((Wunsch) => { }).then((Wunsch) => {
console.log('OpenNextRescueSprechwunsch', myWunsch);
if (Wunsch !== undefined) { if (Wunsch !== undefined) {
Wunsch.each((myWunsch) => { Wunsch.each((myWunsch) => {
console.table(myWunsch); console.table(myWunsch);