Skip to content

Commit 0ebb06d

Browse files
authored
Make storage location names compatible with server (#3103)
1 parent ff45043 commit 0ebb06d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/templates/components/forms/admin/settings/system/storage-option.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</span>
1212
</div>
1313
<div class="field">
14-
{{ui-radio label=(t 'Google Storage') name='storage' value='google' onChange=(action (mut settings.storagePlace))}}
14+
{{ui-radio label=(t 'Google Storage') current=settings.storagePlace name='storage' value='gs' onChange=(action (mut settings.storagePlace))}}
1515
<span class="small text">
1616
({{t 'See'}}
1717
<a href="https://cloud.google.com/storage/docs/migrating#defaultproj" target="_blank" rel="noopener nofollow">
@@ -20,7 +20,7 @@
2020
{{t 'on how to obtain these keys.'}})
2121
</span>
2222
</div>
23-
{{#if (eq settings.storagePlace 'google')}}
23+
{{#if (eq settings.storagePlace 'gs')}}
2424
<div class="field">
2525
<label>
2626
{{t 'Bucket name'}}
@@ -42,7 +42,7 @@
4242
<div class="ui hidden divider"></div>
4343
{{/if}}
4444
<div class="field">
45-
{{ui-radio label=(t 'Amazon S3') name='storage' value='S3' current=settings.storagePlace onChange=(action (mut settings.storagePlace))}}
45+
{{ui-radio label=(t 'Amazon S3') name='storage' value='s3' current=settings.storagePlace onChange=(action (mut settings.storagePlace))}}
4646
<span class="small text">
4747
({{t 'See'}}
4848
<a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-getting-started.html" target="_blank" rel="noopener nofollow">
@@ -51,7 +51,7 @@
5151
{{t 'on how to obtain these keys.'}})
5252
</span>
5353
</div>
54-
{{#if (eq settings.storagePlace 'S3')}}
54+
{{#if (eq settings.storagePlace 's3')}}
5555
<div class="less padding field">
5656
<label>
5757
{{t 'Region'}}
@@ -89,4 +89,4 @@
8989
</label>
9090
{{input type='text' name='amazon_s3_secret' value=settings.awsSecret}}
9191
</div>
92-
{{/if}}
92+
{{/if}}

0 commit comments

Comments
 (0)