Browse Source
Merge pull request #868 from br-dr3/bug/annotate-button
bug: fix to bug #850. Now is possible to open documents from other pages
pull/885/head
Hiroki Nakayama
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
1 additions and
7 deletions
-
frontend/components/containers/annotation/BottomNavigator.vue
-
frontend/components/containers/annotation/Paginator.vue
-
frontend/components/containers/documents/DocumentList.vue
|
|
@ -59,9 +59,6 @@ export default { |
|
|
|
this.initPage({ |
|
|
|
projectId: this.$route.params.id |
|
|
|
}) |
|
|
|
this.getDocumentList({ |
|
|
|
projectId: this.$route.params.id |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
@ -105,9 +105,6 @@ export default { |
|
|
|
this.initPage({ |
|
|
|
projectId: this.$route.params.id |
|
|
|
}) |
|
|
|
this.getDocumentList({ |
|
|
|
projectId: this.$route.params.id |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
@ -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] = index + 1 |
|
|
|
checkpoint[this.$route.params.id] = offset + index + 1 |
|
|
|
localStorage.setItem('checkpoint', JSON.stringify(checkpoint)) |
|
|
|
} |
|
|
|
} |
|
|
|