Skip to content

Commit

Permalink
#172 - chaging sessionStoreage name for total times
Browse files Browse the repository at this point in the history
  • Loading branch information
bracyw committed Sep 20, 2024
1 parent 7046b2a commit acc685c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class ActiveStatus {
this.intervalId = setInterval(() => {
this.currentSeconds++;
this.totalSeconds++;
sessionStorage.setItem('active total seconds', this.totalSeconds.toString());
sessionStorage.setItem('active-total-seconds', this.totalSeconds.toString());
}, 1000);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class BalancingStatus {
this.intervalId = setInterval(() => {
this.currentSeconds++;
this.totalSeconds++;
sessionStorage.setItem('balancing total seconds', this.totalSeconds.toString());
sessionStorage.setItem('balancing-total-seconds', this.totalSeconds.toString());
}, 1000);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class ChargingStatusComponent {
this.intervalId = setInterval(() => {
this.currentSeconds++;
this.totalSeconds++;
sessionStorage.setItem('charging total seconds', this.totalSeconds.toString());
sessionStorage.setItem('charging-total-seconds', this.totalSeconds.toString());
}, 1000);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class FaultedStatus {
this.intervalId = setInterval(() => {
this.currentSeconds++;
this.totalSeconds++;
sessionStorage.setItem('faulted total seconds', this.totalSeconds.toString());
sessionStorage.setItem('faulted-total-seconds', this.totalSeconds.toString());
}, 1000);
}

Expand Down
1 change: 1 addition & 0 deletions scylla-server/src/odyssey-base
Submodule odyssey-base added at dd4302

0 comments on commit acc685c

Please sign in to comment.