Skip to content

Commit 4e30b9c

Browse files
committed
fix: remove event emission on draft save to keep sidebar open
The 'libresign:visible-elements-saved' event was being emitted when saving draft signatures, causing the sidebar to close unexpectedly. This event should only be emitted when sending signature requests, not when saving drafts. Signed-off-by: Vitor Mattos <[email protected]>
1 parent ec9c507 commit 4e30b9c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Components/Request/VisibleElements.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ export default {
299299
const response = await this.filesStore.saveWithVisibleElements({ visibleElements })
300300
showSuccess(t('libresign', response.message))
301301
this.closeModal()
302-
emit('libresign:visible-elements-saved')
303302
this.loading = false
304303
return true
305304
} catch (error) {

0 commit comments

Comments
 (0)