1
0
Fork 0
mirror of https://github.com/bastienwirtz/homer.git synced 2026-07-17 16:38:59 +00:00

feat: Scheduler migration for netalertx

This commit is contained in:
Bastien Wirtz 2026-04-18 16:05:43 +02:00
parent a1338bd5a5
commit e360b651d7

View file

@ -44,10 +44,10 @@ export default {
};
},
created() {
const updateInterval = parseInt(this.item.updateInterval, 10) || 0;
if (updateInterval > 0) {
setInterval(() => this.fetchStatus(), updateInterval);
}
// Set up auto-update method for the scheduler
this.autoUpdateMethod = this.fetchStatus;
// Initial data fetch
this.fetchStatus();
},
methods: {