Skip to content

Commit

Permalink
chore: Move other tabs
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Apr 2, 2024
1 parent dae9665 commit 318f5b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</template>

<script>
import RequestSignatureTab from '../Request/RequestSignatureTab.vue'
import RequestSignatureTab from '../RightSidebar/RequestSignatureTab.vue'
import { useFilesStore } from '../../store/files.js'
export default {
Expand Down
4 changes: 2 additions & 2 deletions src/Components/RightSidebar/RequestSignatureTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ import Delete from 'vue-material-design-icons/Delete.vue'
import { showError, showSuccess } from '@nextcloud/dialogs'
import { showResponseError } from '../../helpers/errors.js'
import Signers from '../Signers/Signers.vue'
import IdentifySigner from './IdentifySigner.vue'
import VisibleElements from './VisibleElements.vue'
import IdentifySigner from '../Request/IdentifySigner.vue'
import VisibleElements from '../Request/VisibleElements.vue'
import { loadState } from '@nextcloud/initial-state'
import { useFilesStore } from '../../store/files.js'
import { useSignStore } from '../../store/sign.js'
Expand Down
5 changes: 1 addition & 4 deletions src/Components/RightSidebar/RightSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<script>
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar.js'
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab.js'
import RequestSignatureTab from '../Request/RequestSignatureTab.vue'
import RequestSignatureTab from '../RightSidebar/RequestSignatureTab.vue'
import { useFilesStore } from '../../store/files.js'
import { useSignStore } from '../../store/sign.js'
Expand Down Expand Up @@ -49,9 +49,6 @@ export default {
showListSigners() {
return !!this.filesStore.getFile()?.name
},
showSign() {
return this.signStore.document.uuid.length > 0
},
closeSidebar() {
this.filesStore.selectFile()
this.$emit('close')
Expand Down
2 changes: 1 addition & 1 deletion src/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import Vuex from 'vuex'
import { createPinia, PiniaVuePlugin } from 'pinia'
import { loadState } from '@nextcloud/initial-state'
import { translate, translatePlural } from '@nextcloud/l10n'
import AppFilesTab from './Components/File/AppFilesTab.vue'
import AppFilesTab from './Components/RightSidebar/AppFilesTab.vue'
import './actions/openInLibreSignAction.js'

import './style/icons.scss'
Expand Down

0 comments on commit 318f5b8

Please sign in to comment.