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:
parent
4a9d5edbfc
commit
4cbfa28e10
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user