From ad7154051ba90819641d5d4ef2c385b85d28a702 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Fri, 12 Apr 2024 02:43:26 -0300 Subject: [PATCH] chore: clean code Signed-off-by: Vitor Mattos --- src/Components/Modals/ModalContent.vue | 57 ------------------- src/views/Account/partials/ManagePassword.vue | 1 + src/views/CreatePassword.vue | 33 ----------- src/views/ResetPassword.vue | 49 +++------------- 4 files changed, 10 insertions(+), 130 deletions(-) delete mode 100644 src/Components/Modals/ModalContent.vue diff --git a/src/Components/Modals/ModalContent.vue b/src/Components/Modals/ModalContent.vue deleted file mode 100644 index 0f353101ef..0000000000 --- a/src/Components/Modals/ModalContent.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - diff --git a/src/views/Account/partials/ManagePassword.vue b/src/views/Account/partials/ManagePassword.vue index e0fc6b27ce..e89e0e8390 100644 --- a/src/views/Account/partials/ManagePassword.vue +++ b/src/views/Account/partials/ManagePassword.vue @@ -76,6 +76,7 @@ export default { }, setup() { const signMethodsStore = useSignMethodsStore() + signMethodsStore.setHasSignatureFile(loadState('libresign', 'config', {})?.hasSignatureFile ?? false) return { signMethodsStore } }, data() { diff --git a/src/views/CreatePassword.vue b/src/views/CreatePassword.vue index cf04802e1e..627b7e3634 100644 --- a/src/views/CreatePassword.vue +++ b/src/views/CreatePassword.vue @@ -73,36 +73,3 @@ export default { }, } - diff --git a/src/views/ResetPassword.vue b/src/views/ResetPassword.vue index fc85a0ddf6..ac83745186 100644 --- a/src/views/ResetPassword.vue +++ b/src/views/ResetPassword.vue @@ -19,11 +19,14 @@ @@ -31,6 +34,7 @@