mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 18:32:27 +00:00
refactor(ui): extract thumbnail logic, fix visual CI, and patch profile controller
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
fd1bbfd978
commit
ff72f181a5
2 files changed
+12
-10
No files matched your search
@@ -679,14 +679,14 @@ export class ProfileStorageController {
|
||||
}
|
||||
|
||||
handleClearStorage() {
|
||||
this.storageEndpointInput.value = "";
|
||||
this.storageRegionInput.value = "auto";
|
||||
this.storageAccessKeyInput.value = "";
|
||||
this.storageSecretKeyInput.value = "";
|
||||
this.storageBucketInput.value = "";
|
||||
this.storagePrefixInput.value = "";
|
||||
this.storageDefaultInput.checked = false;
|
||||
this.storageProviderInput.value = "cloudflare_r2";
|
||||
if (this.storageEndpointInput) this.storageEndpointInput.value = "";
|
||||
if (this.storageRegionInput) this.storageRegionInput.value = "auto";
|
||||
if (this.storageAccessKeyInput) this.storageAccessKeyInput.value = "";
|
||||
if (this.storageSecretKeyInput) this.storageSecretKeyInput.value = "";
|
||||
if (this.storageBucketInput) this.storageBucketInput.value = "";
|
||||
if (this.storagePrefixInput) this.storagePrefixInput.value = "";
|
||||
if (this.storageDefaultInput) this.storageDefaultInput.checked = false;
|
||||
if (this.storageProviderInput) this.storageProviderInput.value = "cloudflare_r2";
|
||||
if (this.storageForcePathStyleInput) {
|
||||
this.storageForcePathStyleInput.checked = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user