mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix bug
This commit is contained in:
@@ -228,10 +228,14 @@ export class TaskService {
|
||||
async loadDespachos() {
|
||||
this.showLoaderNum++
|
||||
|
||||
let despachos = await this.despachoRule.getList({ updateStore: true })
|
||||
if (despachos) {
|
||||
this.despachoStore.reset(despachos)
|
||||
}
|
||||
try {
|
||||
|
||||
let despachos = await this.despachoRule.getList({ updateStore: true })
|
||||
if (despachos) {
|
||||
this.despachoStore.reset(despachos)
|
||||
}
|
||||
|
||||
} catch(error) {}
|
||||
|
||||
this.showLoaderNum--
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user