diff options
Diffstat (limited to 'src/lib/Menu.js')
-rw-r--r-- | src/lib/Menu.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index cda33baef..c0c9d940d 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -636,7 +636,9 @@ export default class FranzMenu { | |||
636 | // need to clone object so we don't modify computed (cached) object | 636 | // need to clone object so we don't modify computed (cached) object |
637 | const serviceTpl = Object.assign([], this.serviceTpl()); | 637 | const serviceTpl = Object.assign([], this.serviceTpl()); |
638 | 638 | ||
639 | if (window.franz === undefined) { | 639 | // Don't initialize when window.franz is undefined or when we are on a payment window route |
640 | if (window.franz === undefined || this.stores.router.location.pathname.startsWith('/payment/')) { | ||
641 | console.log('skipping menu init'); | ||
640 | return; | 642 | return; |
641 | } | 643 | } |
642 | 644 | ||