Skip to content

Commit e6a5e34

Browse files
authored
Merge pull request #1357 from LibreSign/backport/1356/stable25
[stable25] Nothing to do
2 parents 2b4a5fd + c9b046c commit e6a5e34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/views/FilesTab/LibresignTab.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
icon="icon-rename"
2828
:name="t('libresign', 'LibreSign')">
2929
<div v-show="showButtons" class="lb-ls-buttons">
30+
<NcEmptyContent v-if="!hasSign && !canRequestSign && !haveRequest && !showValidation"
31+
:title="t('libresign', 'Nothing to do')">
32+
</NcEmptyContent>
3033
<button v-if="hasSign" class="primary" @click="gotoSign">
3134
{{ t('libresign', 'Sign') }}
3235
</button>
@@ -125,6 +128,7 @@ import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar'
125128
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
126129
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
127130
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab'
131+
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
128132
129133
export default {
130134
name: 'LibresignTab',
@@ -134,6 +138,7 @@ export default {
134138
NcActions,
135139
NcActionButton,
136140
NcAppSidebarTab,
141+
NcEmptyContent,
137142
Request,
138143
},
139144

0 commit comments

Comments
 (0)