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!

Add update function for DroneCi Widget

Matthias Bilger120c351f40fb
diff --git a/src/components/Widgets/DroneCi.vue b/src/components/Widgets/DroneCi.vue
index c8b0ff04..8d9259e5 100644
--- a/src/components/Widgets/DroneCi.vue
+++ b/src/components/Widgets/DroneCi.vue
@@ -72,6 +72,12 @@ export default {
},
},
methods: {
+ /* Fetch new data, configured by updateInterval */
+ update() {
+ this.startLoading();
+ this.fetchData();
+ this.finishLoading();
+ },
/* Make GET request to Drone CI API endpoint */
fetchData() {
this.overrideProxyChoice = true;