diff --git a/src/Components/RightSidebar/RightSidebar.vue b/src/Components/RightSidebar/RightSidebar.vue
index 800afb3e72..a874637d76 100644
--- a/src/Components/RightSidebar/RightSidebar.vue
+++ b/src/Components/RightSidebar/RightSidebar.vue
@@ -72,8 +72,6 @@ export default {
},
closeSidebar() {
this.sidebarStore.hideSidebar()
- // this.filesStore.selectFile()
- // this.signStore.reset()
},
},
}
diff --git a/src/views/Request.vue b/src/views/Request.vue
index db5a6daae3..403176270c 100644
--- a/src/views/Request.vue
+++ b/src/views/Request.vue
@@ -3,13 +3,14 @@
{{ t('libresign', 'Request Signatures') }}
- {{ t('libresign', 'Choose the file to request signatures.') }}
+ {{ t('libresign', 'Choose the file to request signatures.') }}
{{ t('libresign', 'Upload from URL') }}
@@ -17,6 +18,7 @@
{{ t('libresign', 'Choose from Files') }}
@@ -24,6 +26,7 @@
{{ t('libresign', 'Upload') }}
@@ -85,6 +88,7 @@ import File from '../Components/File/File.vue'
import { filesService } from '../domains/files/index.js'
import { onError } from '../helpers/errors.js'
import { useFilesStore } from '../store/files.js'
+import { useSidebarStore } from '../store/sidebar.js'
const PDF_MIME_TYPE = 'application/pdf'
@@ -113,7 +117,8 @@ export default {
},
setup() {
const filesStore = useFilesStore()
- return { filesStore }
+ const sidebarStore = useSidebarStore()
+ return { filesStore, sidebarStore }
},
data() {
return {
@@ -187,7 +192,6 @@ export default {
onError(err)
return
}
- await this.closeModalUploadFromUrl()
this.closeModalUploadFromUrl()
this.loading = false
},