From 96391fd1d54301da1e285f5c8f24346404c98017 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:08:25 +0100 Subject: [PATCH] Show content of non-OTP QR code after a live scan for copying or browsing --- .../js_vue3/components/QrContentDisplay.vue | 69 +++++++++++++++++++ .../js_vue3/views/twofaccounts/Capture.vue | 6 ++ .../views/twofaccounts/CreateUpdate.vue | 58 +--------------- resources/lang/en/commons.php | 1 + 4 files changed, 78 insertions(+), 56 deletions(-) create mode 100644 resources/js_vue3/components/QrContentDisplay.vue diff --git a/resources/js_vue3/components/QrContentDisplay.vue b/resources/js_vue3/components/QrContentDisplay.vue new file mode 100644 index 00000000..23a80791 --- /dev/null +++ b/resources/js_vue3/components/QrContentDisplay.vue @@ -0,0 +1,69 @@ + + + diff --git a/resources/js_vue3/views/twofaccounts/Capture.vue b/resources/js_vue3/views/twofaccounts/Capture.vue index 212dea1a..e688d66d 100644 --- a/resources/js_vue3/views/twofaccounts/Capture.vue +++ b/resources/js_vue3/views/twofaccounts/Capture.vue @@ -1,6 +1,7 @@ diff --git a/resources/lang/en/commons.php b/resources/lang/en/commons.php index 13f9c33c..35a316d6 100644 --- a/resources/lang/en/commons.php +++ b/resources/lang/en/commons.php @@ -75,4 +75,5 @@ 'submit' => 'Submit', 'default' => 'Default', 'back_to_home' => 'Back to home', + 'nothing' => 'nothing', ];