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 committed Apr 1, 2024
1 parent 3a38a6f commit 7a0dea9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 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
9 changes: 8 additions & 1 deletion src/Components/RightSidebar/RightSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
:subtitle="subTitle"
:active="fileName"
@close="closeSidebar">
<NcAppSidebarTab v-if="showSign"
id="sign-tab"
name="">
<SignTab />
</NcAppSidebarTab>
<NcAppSidebarTab v-if="showListSigners"
id="request-signature-list-signers"
:name="fileName">
Expand All @@ -15,7 +20,8 @@
<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 SignTab from '../RightSidebar/SignTab.vue'

Check failure on line 24 in src/Components/RightSidebar/RightSidebar.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Unable to resolve path to module '../RightSidebar/SignTab.vue'

Check failure on line 24 in src/Components/RightSidebar/RightSidebar.vue

View workflow job for this annotation

GitHub Actions / NPM lint

"../RightSidebar/SignTab.vue" is not found
import { useFilesStore } from '../../store/files.js'
import { useSignStore } from '../../store/sign.js'
Expand All @@ -25,6 +31,7 @@ export default {
NcAppSidebar,
NcAppSidebarTab,
RequestSignatureTab,
SignTab,
},
setup() {
const filesStore = useFilesStore()
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 7a0dea9

Please sign in to comment.