@internetarchive/ia-book-actions 0.0.29-alpha41 → 0.0.29-alpha42

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-book-actions",
3
- "version": "0.0.29-alpha41",
3
+ "version": "0.0.29-alpha42",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -89,6 +89,10 @@ export default class TimerCountdown extends LitElement {
89
89
  let unitOfTime = 'second';
90
90
  let timeLeft = Math.round(this.secondsLeftOnLoan);
91
91
 
92
+ if (this.isDevBox) {
93
+ return `${timeLeft} seconds`;
94
+ }
95
+
92
96
  if (timeLeft > 60) {
93
97
  unitOfTime = 'minute';
94
98
  timeLeft = Math.floor(timeLeft / 60);