Skip to content

Commit

Permalink
Merge pull request #2649 from LibreSign/backport/2648/stable28
Browse files Browse the repository at this point in the history
[stable28] chore: Move RightSidebar to specific tab
  • Loading branch information
vitormattos authored Apr 2, 2024
2 parents 70cef23 + 3828e7a commit 0f7cc0e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import LogoLibreSign from './../img/logo-gray.svg'
import CroppedLayoutSettings from './Components/Settings/CroppedLayoutSettings.vue'
import RightSidebar from './Components/File/RightSidebar.vue'
import RightSidebar from './Components/RightSidebar/RightSidebar.vue'
import { loadState } from '@nextcloud/initial-state'
import FileSignIcon from 'vue-material-design-icons/FileSign.vue'
import FolderIcon from 'vue-material-design-icons/Folder.vue'
Expand Down
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
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:subtitle="subTitle"
:active="fileName"
@close="closeSidebar">
<NcAppSidebarTab v-if="fileName"
<NcAppSidebarTab v-if="showListSigners"
id="request-signature-list-signers"
:name="fileName">
<RequestSignatureTab />
Expand All @@ -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
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 0f7cc0e

Please sign in to comment.