diff --git a/src/components/nodes-table/NodeScheduler.vue b/src/components/nodes-table/NodeScheduler.vue index a841125313..7c6e8269e6 100644 --- a/src/components/nodes-table/NodeScheduler.vue +++ b/src/components/nodes-table/NodeScheduler.vue @@ -313,7 +313,7 @@ export default { } }, async refresh() { - const fromCache = await this.app.confirm( + const shouldQuery = await this.app.confirm( 'Refresh schedules', 'Do you want to query the schedules from the device or to get them from the cache? Querying from the device may take a while but will always return the latest schedules stored on it.', 'info' @@ -322,7 +322,7 @@ export default { this.loading = true const response = await this.app.apiRequest('getSchedules', [ this.node.id, - { mode: this.mode, fromCache }, + { mode: this.mode, fromCache: !shouldQuery }, ]) this.loading = false