|
314 | 314 | /> |
315 | 315 | </cv-radio-group> |
316 | 316 | </div> |
317 | | - <template |
318 | | - v-if="rclone.configuration_source == 'paste'" |
319 | | - > |
| 317 | + <template v-if="rclone.configuration_source == 'paste'"> |
320 | 318 | <cv-text-area |
321 | | - class="mg-top-md maxwidth" |
| 319 | + class="mg-top-md maxwidth" |
322 | 320 | :label="$t('backup.rclone_configuration_content')" |
323 | 321 | v-model.trim="rclone.rclone_conf_secret" |
324 | 322 | :invalid-message="error.rclone.rclone_conf_secret" |
@@ -740,7 +738,10 @@ export default { |
740 | 738 | this.name = ""; |
741 | 739 | if (this.selectedProvider == "smb") { |
742 | 740 | this.focusElement("smb_host"); |
743 | | - } else if (this.selectedProvider != "cluster" && this.selectedProvider != "rclone") { |
| 741 | + } else if ( |
| 742 | + this.selectedProvider != "cluster" && |
| 743 | + this.selectedProvider != "rclone" |
| 744 | + ) { |
744 | 745 | this.focusElement("url"); |
745 | 746 | } |
746 | 747 | } |
@@ -829,8 +830,6 @@ export default { |
829 | 830 | this.genericS3.aws_access_key_id = ""; |
830 | 831 | this.genericS3.aws_secret_access_key = ""; |
831 | 832 |
|
832 | | -
|
833 | | -
|
834 | 833 | this.smb.smb_host = ""; |
835 | 834 | this.smb.smb_user = ""; |
836 | 835 | this.smb.smb_pass = ""; |
@@ -1398,7 +1397,7 @@ export default { |
1398 | 1397 | this.$emit("repoCreated"); |
1399 | 1398 | this.$emit("hide"); |
1400 | 1399 | }, |
1401 | | - |
| 1400 | +
|
1402 | 1401 | async listBackupEndpoints() { |
1403 | 1402 | this.loading.listBackupEndpoints = true; |
1404 | 1403 | this.error.listBackupEndpoints = ""; |
@@ -1471,7 +1470,7 @@ export default { |
1471 | 1470 |
|
1472 | 1471 | <style scoped lang="scss"> |
1473 | 1472 | @import "../../styles/carbon-utils"; |
1474 | | - |
| 1473 | +
|
1475 | 1474 | // Full width and white background for the rclone file uploader |
1476 | 1475 | ::v-deep .bx--file { |
1477 | 1476 | width: 100%; |
|
0 commit comments