web/satellite/vuetify-poc: use 'demo-bucket' placeholder instead of prefilled value

Use placeholder instead of prefilled value for bucket creation dialog.

Issue:
https://github.com/storj/storj/issues/6319

Change-Id: I86c25926034adbe93a58df56e0bf18b60b41e568
This commit is contained in:
Vitalii 2023-09-25 13:25:43 +03:00 committed by Storj Robot
parent 4a9d5edbfc
commit 4cbfa28e10

View File

@ -42,6 +42,7 @@
variant="outlined"
:rules="bucketNameRules"
label="Enter bucket name"
placeholder="demo-bucket"
hint="Lowercase letters, numbers, hyphens (-), and periods (.)"
:hide-details="false"
required
@ -326,7 +327,6 @@ watch(innerContent, newContent => {
withLoading(async () => {
try {
await bucketsStore.getAllBucketsNames(projectsStore.state.selectedProject.id);
bucketName.value = allBucketNames.value.length > 0 ? '' : 'demo-bucket';
} catch (error) {
notify.notifyError(error, AnalyticsErrorEventSource.CREATE_BUCKET_MODAL);
}