@internetarchive/ia-book-actions 0.1.4-alpha2 → 0.1.4-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -141,8 +141,8 @@ export default class TimerCountdown extends LitElement {
|
|
|
141
141
|
const secondsShouldLeft = this.secondsLeftOnLoan - diffInSeconds;
|
|
142
142
|
|
|
143
143
|
// convert in minutes
|
|
144
|
-
const whatIsleft = Math.round(timerSecondsLeft);
|
|
145
|
-
const whatShouldLeft = Math.round(secondsShouldLeft);
|
|
144
|
+
const whatIsleft = Math.round(timerSecondsLeft / 60);
|
|
145
|
+
const whatShouldLeft = Math.round(secondsShouldLeft / 60);
|
|
146
146
|
|
|
147
147
|
if (whatIsleft !== whatShouldLeft) {
|
|
148
148
|
console.log("timer is gone off, let's re-sync");
|