aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/TouchBar.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/TouchBar.js')
-rw-r--r--src/lib/TouchBar.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/TouchBar.js b/src/lib/TouchBar.js
index 1de46d2a3..32f546644 100644
--- a/src/lib/TouchBar.js
+++ b/src/lib/TouchBar.js
@@ -24,6 +24,10 @@ export default class FranzTouchBar {
24 _build() { 24 _build() {
25 const currentWindow = remote.getCurrentWindow(); 25 const currentWindow = remote.getCurrentWindow();
26 26
27 if (this.stores.router.location.pathname.startsWith('/payment/')) {
28 return;
29 }
30
27 if (this.stores.user.isLoggedIn) { 31 if (this.stores.user.isLoggedIn) {
28 const { TouchBar } = remote; 32 const { TouchBar } = remote;
29 const { TouchBarButton, TouchBarSpacer } = TouchBar; 33 const { TouchBarButton, TouchBarSpacer } = TouchBar;