File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2323 <NcDialog v-if =" modal"
2424 :name =" t('libresign', 'Confirm your signature')"
2525 @closing =" handleModal(false)" >
26- <img :src =" imageData" >
26+ <PreviewSignature :src =" imageData" / >
2727 <template #actions >
2828 <NcButton variant =" primary" @click =" saveSignature" >
2929 {{ t('libresign', 'Save') }}
@@ -46,13 +46,15 @@ import { getCapabilities } from '@nextcloud/capabilities'
4646import NcButton from ' @nextcloud/vue/components/NcButton'
4747import NcDialog from ' @nextcloud/vue/components/NcDialog'
4848import NcTextField from ' @nextcloud/vue/components/NcTextField'
49+ import PreviewSignature from ' ../PreviewSignature/PreviewSignature.vue'
4950
5051export default {
5152 name: ' TextInput' ,
5253 components: {
5354 NcTextField,
5455 NcDialog,
5556 NcButton,
57+ PreviewSignature,
5658 },
5759 data : () => ({
5860 canvasWidth: getCapabilities ().libresign .config [' sign-elements' ][' signature-width' ],
You can’t perform that action at this time.
0 commit comments