Skip to content

Commit

Permalink
refactor: don't repeat hitting github if an update is found
Browse files Browse the repository at this point in the history
  • Loading branch information
jakowenko committed Jul 2, 2021
1 parent e58e798 commit 9df223d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Toolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
}
// eslint-disable-next-line no-empty
} catch (error) {}
setTimeout(this.checkVersion, 60000);
if (!this.updateAvailable) setTimeout(this.checkVersion, 60000);
}
},
},
Expand Down

0 comments on commit 9df223d

Please sign in to comment.