Browse Source

Revert "bug: fix to bug 850. Now is possible to open documents from other pages"

This reverts commit a63fc753
pull/898/head
Hironsan 4 years ago
parent
commit
8721b91698
3 changed files with 7 additions and 1 deletions
  1. 3
      frontend/components/containers/annotation/BottomNavigator.vue
  2. 3
      frontend/components/containers/annotation/Paginator.vue
  3. 2
      frontend/components/containers/documents/DocumentList.vue

3
frontend/components/containers/annotation/BottomNavigator.vue

@ -59,6 +59,9 @@ export default {
this.initPage({
projectId: this.$route.params.id
})
this.getDocumentList({
projectId: this.$route.params.id
})
},
methods: {

3
frontend/components/containers/annotation/Paginator.vue

@ -105,6 +105,9 @@ export default {
this.initPage({
projectId: this.$route.params.id
})
this.getDocumentList({
projectId: this.$route.params.id
})
},
methods: {

2
frontend/components/containers/documents/DocumentList.vue

@ -138,7 +138,7 @@ export default {
this.$router.push('/projects/' + this.$route.params.id + '/' + this.getLink)
this.setCurrent(index)
const checkpoint = {}
checkpoint[this.$route.params.id] = offset + index + 1
checkpoint[this.$route.params.id] = index + 1
localStorage.setItem('checkpoint', JSON.stringify(checkpoint))
}
}

Loading…
Cancel
Save