mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-28 08:04:46 +02:00
Add update function for DroneCi Widget
This commit is contained in:
parent
f43966fdb0
commit
120c351f40
@ -72,6 +72,12 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
/* Fetch new data, configured by updateInterval */
|
||||||
|
update() {
|
||||||
|
this.startLoading();
|
||||||
|
this.fetchData();
|
||||||
|
this.finishLoading();
|
||||||
|
},
|
||||||
/* Make GET request to Drone CI API endpoint */
|
/* Make GET request to Drone CI API endpoint */
|
||||||
fetchData() {
|
fetchData() {
|
||||||
this.overrideProxyChoice = true;
|
this.overrideProxyChoice = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user