Bug 33066: Fix "Loading..."

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Agustín Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 730aec445e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-03-07 15:06:50 +01:00 committed by Martin Renvoize
parent 688cdfacc5
commit eaabbd6dd3
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 2 deletions

View File

@ -110,8 +110,7 @@ export default {
vm.before_route_entered = true // FIXME This is ugly, but we need to distinguish when it's used as main component or child component (from EHoldingsEBSCOPAckagesShow for instance)
if (!vm.building_table) {
vm.building_table = true
vm.getAgreementCount()
vm.initialized = true
vm.getAgreementCount().then(() => vm.initialized = true)
}
})
},