test: keep PDA route contracts portable
This commit is contained in:
@@ -529,7 +529,7 @@
|
||||
this.remoteTaskId = options.taskId ? String(options.taskId) : null
|
||||
}
|
||||
},
|
||||
async onShow() {
|
||||
async onShow() {
|
||||
if (!requireSession()) return
|
||||
this.currentUser = session.currentUser
|
||||
this.startHardwareScanner()
|
||||
@@ -544,14 +544,14 @@
|
||||
}
|
||||
await this.refreshAvailableBoxes()
|
||||
await this.syncRemoteTask()
|
||||
},
|
||||
onHide() {
|
||||
},
|
||||
onHide() {
|
||||
if (this.evidencePreviewOpening) {
|
||||
this.evidencePreviewOpening = false
|
||||
this.evidencePreviewReturning = true
|
||||
}
|
||||
this.stopHardwareScanner()
|
||||
},
|
||||
},
|
||||
onUnload() { this.stopHardwareScanner(); this.persistSession(); this.clearTimers() },
|
||||
beforeUnmount() { this.stopHardwareScanner(); this.clearTimers() },
|
||||
onBackPress() {
|
||||
|
||||
Reference in New Issue
Block a user