diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-22 17:03:33 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-22 17:03:33 +0100 |
commit | 136be27ef9185f48262d3ff0e7f754bb5590de45 (patch) | |
tree | 790bbd79821a8e355e277c04616d39a7b280f8c1 /src/lib/Menu.js | |
parent | remove electron frame for Windows testing on macOS (diff) | |
download | ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.tar.gz ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.tar.zst ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.zip |
override platform in code and simulate different environment
[MINOR] REFACTOR rename `FRANZ_PLATFORM` to `OS_PLATFORM`
[MINOR] FIX propTypes for `electron-react-titlebar`
Diffstat (limited to 'src/lib/Menu.js')
-rw-r--r-- | src/lib/Menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index ed21315d8..d043dee87 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -126,7 +126,7 @@ export default class FranzMenu { | |||
126 | } | 126 | } |
127 | 127 | ||
128 | get template() { | 128 | get template() { |
129 | return this.currentTemplate; | 129 | return this.currentTemplate.toJS(); |
130 | } | 130 | } |
131 | 131 | ||
132 | _build() { | 132 | _build() { |