diff options
author | 2017-11-10 21:41:20 +0100 | |
---|---|---|
committer | 2017-11-10 21:41:20 +0100 | |
commit | fb0b38228fd743079ffc6180f45ddaebaa3f3255 (patch) | |
tree | 1df49cd8e794b968a8748cab883536668f020746 /src/containers | |
parent | test with node 8 (diff) | |
download | ferdium-app-fb0b38228fd743079ffc6180f45ddaebaa3f3255.tar.gz ferdium-app-fb0b38228fd743079ffc6180f45ddaebaa3f3255.tar.zst ferdium-app-fb0b38228fd743079ffc6180f45ddaebaa3f3255.zip |
fix undefined prop for isAppMuted
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/layout/AppLayoutContainer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index 1b0f4d495..8e5b3d2ed 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js | |||
@@ -80,7 +80,7 @@ export default class AppLayoutContainer extends Component { | |||
80 | <Sidebar | 80 | <Sidebar |
81 | services={services.allDisplayed} | 81 | services={services.allDisplayed} |
82 | setActive={setActive} | 82 | setActive={setActive} |
83 | isAppMuted={app.isSystemMuted || settings.all.isMuted} | 83 | isAppMuted={Boolean(app.isSystemMuted) || Boolean(settings.all.isMuted)} |
84 | openSettings={openSettings} | 84 | openSettings={openSettings} |
85 | closeSettings={closeSettings} | 85 | closeSettings={closeSettings} |
86 | reorder={reorder} | 86 | reorder={reorder} |
@@ -100,7 +100,7 @@ export default class AppLayoutContainer extends Component { | |||
100 | setWebviewReference={setWebviewReference} | 100 | setWebviewReference={setWebviewReference} |
101 | openWindow={openWindow} | 101 | openWindow={openWindow} |
102 | reload={reload} | 102 | reload={reload} |
103 | isAppMuted={settings.all.isMuted} | 103 | isAppMuted={settings.all.isMuted || false} |
104 | update={updateService} | 104 | update={updateService} |
105 | /> | 105 | /> |
106 | ); | 106 | ); |