Skip to content

Commit

Permalink
[ICIJ/datashare#349] Fix the load of named entities on document view
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Mar 17, 2020
1 parent 34cc363 commit 1fbc4df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/document/DocumentTabNamedEntities.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-wait for="load_data">
<v-wait for="load named entities">
<fa icon="circle-notch" spin size="2x" class="d-flex mx-auto mt-5" slot="waiting" />
<div class="p-3">
<div v-if="$config.is('manageDocuments') && !document.hasNerTags" class="document__named-entities document__named-entities--not--searched">
Expand Down Expand Up @@ -71,9 +71,9 @@ export default {
}
},
async mounted () {
this.$wait.start('load_data')
this.$wait.start('load named entities')
await this.$store.dispatch('document/getFirstPageForNamedEntityInAllCategories')
this.$wait.end('load_data')
this.$wait.end('load named entities')
},
methods: {
getCategoryTotal (category) {
Expand Down

0 comments on commit 1fbc4df

Please sign in to comment.