v2 fix transact
This commit is contained in:
11
dist/autoloaderV2.js
vendored
11
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Dec 19 2018 17:06:29 GMT+0100 (CET)*/
|
||||
/*Generated on:Wed Dec 19 2018 17:09:29 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -17291,8 +17291,9 @@ class AutomaticDispose {
|
||||
}
|
||||
|
||||
AddRescueSprechwunschToQueue(WunschID) {
|
||||
let self = this
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||
return this.ADisDB.ADisSprechwunsch.put({
|
||||
return self.ADisDB.ADisSprechwunsch.put({
|
||||
vehicleID: WunschID,
|
||||
done: 'false'
|
||||
})
|
||||
@@ -17303,8 +17304,9 @@ class AutomaticDispose {
|
||||
|
||||
|
||||
UpdateRescueSprechwunschToDone(WunschID) {
|
||||
let self = this
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||
return this.ADisDB.ADisSprechwunsch.put({
|
||||
return self.ADisDB.ADisSprechwunsch.put({
|
||||
vehicleID: WunschID,
|
||||
done: 'true'
|
||||
})
|
||||
@@ -18126,8 +18128,9 @@ class AutomaticDispose {
|
||||
}
|
||||
|
||||
AddAvailableMissions(Mission) {
|
||||
let self = this;
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisAvailabelMissions], async () => {
|
||||
return this.ADisDB.ADisAvailabelMissions.put({
|
||||
return self.ADisDB.ADisAvailabelMissions.put({
|
||||
missionID: Mission.id,
|
||||
type: Mission.type,
|
||||
name: Mission.name,
|
||||
|
||||
Reference in New Issue
Block a user