Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ”₯ Removed commented out lines for ResueTime widget (#1278)

Alicia Sykesc45e05866d12
diff --git a/src/components/Widgets/RescueTime.vue b/src/components/Widgets/RescueTime.vue
index 952508b4..6144bc76 100644
--- a/src/components/Widgets/RescueTime.vue
+++ b/src/components/Widgets/RescueTime.vue
@@ -18,7 +18,6 @@
</template>
<script>
-// import axios from 'axios';
import WidgetMixin from '@/mixins/WidgetMixin';
import { widgetApiEndpoints } from '@/utils/defaults';
@@ -65,7 +64,6 @@ export default {
},
calculateTimeCategories(timeArray) {
const results = {};
- // console.log(timeArray.rows[0]);
for (let i = 0; i < timeArray.rows.length; i += 1) {
const [rank, seconds, persons, category] = timeArray.rows[i];
const minutes = (parseInt(seconds, 10) / 60).toFixed(2);