fix: refresh picking task by authoritative route
This commit is contained in:
@@ -516,6 +516,10 @@
|
||||
if (!requireSession()) return
|
||||
this.currentUser = session.currentUser
|
||||
if (options.taskId) {
|
||||
// Session display state can belong to the task opened before this route.
|
||||
// Only the scoped draft restored after loading this task may restore its history.
|
||||
this.scanValue = ''
|
||||
this.scanHistory = []
|
||||
// A local completion marker belongs to the previously opened task. The
|
||||
// canonical server detail decides whether this task is complete.
|
||||
this.completedBoxes = {}
|
||||
|
||||
Reference in New Issue
Block a user