Last active
April 22, 2018 22:33
-
-
Save a-one-d-one/dc47a6edeb1e6a17d91b0ba09ee689d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
... | |
.. | |
. | |
onShowDownloads () { | |
appActions.createTabRequested({ | |
url: 'about:downloads' | |
}) | |
windowActions.setDownloadsToolbarVisible(false) | |
} | |
mergeProps (state, ownProps) { | |
const props = {} | |
// used in renderer | |
props.downloads = downloadUtil.getDownloadItems(state) || Immutable.List() | |
return props | |
} | |
.... | |
... | |
.. | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment