From c8e0809d435e7ad90722be3d8a3304be73d95798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 20 Oct 2020 13:58:01 +0200 Subject: Extract GeneratePassword function to its own file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is needed to be able to use the function from other components. Signed-off-by: John Molakvoæ (skjnldsv) --- .../src/components/SharingEntryLink.vue | 39 ++------------- apps/files_sharing/src/utils/GeneratePassword.js | 56 ++++++++++++++++++++++ 2 files changed, 60 insertions(+), 35 deletions(-) create mode 100644 apps/files_sharing/src/utils/GeneratePassword.js (limited to 'apps/files_sharing/src') diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 982ed4bff3a..c214bc12503 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -324,7 +324,6 @@