Add update function for DroneCi Widget

This commit is contained in:
Matthias Bilger 2023-01-08 06:17:17 +01:00
parent f43966fdb0
commit 120c351f40
1 changed files with 6 additions and 0 deletions

View File

@ -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;