Skip to content

Commit

Permalink
s3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
itcon-pty-au committed Sep 4, 2024
1 parent 2199bd0 commit c1db057
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function openSyncModal() {
</div>
</div>`;
document.body.appendChild(modalPopup);

const awsBucketInput = document.getElementById('aws-bucket');
const awsAccessKeyInput = document.getElementById('aws-access-key');
const awsSecretKeyInput = document.getElementById('aws-secret-key');
Expand All @@ -87,7 +88,9 @@ function openSyncModal() {
// Initialize the state of the switch
if (isBackupEnabled) {
cloudbkSwitch.setAttribute('aria-checked', 'true');
cloudbkSwitch.classList.remove('bg-gray-300');
cloudbkSwitch.classList.add('bg-blue-600');
cloudbkSwitch.querySelector('span').classList.remove('translate-x-0');
cloudbkSwitch.querySelector('span').classList.add('translate-x-5');
}

Expand Down

0 comments on commit c1db057

Please sign in to comment.