From 433273c075dbacaaff8c886b25658d7f025d7f56 Mon Sep 17 00:00:00 2001 From: Csaky Date: Wed, 29 May 2024 16:46:20 -0700 Subject: [PATCH] rename subpath wording --- .../components/bucket/BucketChildConfig.vue | 21 ++++++++++++------- .../components/bucket/BucketConfigForm.vue | 20 +++++++++--------- frontend/src/components/form/TextInput.vue | 3 ++- frontend/src/views/list/ListObjectsView.vue | 1 - 4 files changed, 26 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/bucket/BucketChildConfig.vue b/frontend/src/components/bucket/BucketChildConfig.vue index 23bae6f9..d375be46 100644 --- a/frontend/src/components/bucket/BucketChildConfig.vue +++ b/frontend/src/components/bucket/BucketChildConfig.vue @@ -26,8 +26,7 @@ const schema = object({ bucketName: string().required().max(255).label('Folder display name'), subKey: string() .required() - .matches(/^[^\\]+$/, 'Folder sub-path must not contain back slashes') - .label('Folder sub-path') + .matches(/^[^\\]+$/, { excludeEmptyString: true, message: 'Path must not contain backslashes' }) }); // Actions @@ -102,17 +101,20 @@ const onCancel = () => {