We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86b437 commit a6b3c33Copy full SHA for a6b3c33
src/views/dashboard/devices/DevicesRoot.vue
@@ -131,7 +131,7 @@ export default {
131
timerInterval = setInterval(() => {
132
const left = this.$swal.getTimerLeft();
133
const minutes = Math.floor(left / 1000 / 60);
134
- b.textContent = `${minutes}:${Math.floor(left / 1000 - minutes * 60)}`;
+ b.textContent = `${minutes}:${String(Math.floor(left / 1000 - minutes * 60)).padStart(2, '0')}`;
135
}, 1000)
136
},
137
willClose: () => {
0 commit comments