Update src/main-process/application-menu.js

Co-authored-by: Sadick <sadickjunior@gmail.com>
This commit is contained in:
sibaki_girls
2021-07-04 04:02:40 +09:00
committed by GitHub
parent 31c91de00d
commit 9a66074706

View File

@@ -115,7 +115,6 @@ module.exports = class ApplicationMenu {
showUpdateMenuItem(state) {
const items = this.flattenMenuItems(this.menu);
const checkForUpdateItem = items.find(
// ({ label }) => label === 'Check for Update'
({ id }) => id === 'Check for Update'
);
const checkingForUpdateItem = items.find(