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 f223283f9..d7398a126 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -730,7 +730,9 @@ export default class FranzMenu { | |||
730 | // need to clone object so we don't modify computed (cached) object | 730 | // need to clone object so we don't modify computed (cached) object |
731 | const serviceTpl = Object.assign([], this.serviceTpl()); | 731 | const serviceTpl = Object.assign([], this.serviceTpl()); |
732 | 732 | ||
733 | if (window.ferdi === undefined) { | 733 | // Don't initialize when window.franz is undefined or when we are on a payment window route |
734 | if (window.ferdi === undefined || this.stores.router.location.pathname.startsWith('/payment/')) { | ||
735 | console.log('skipping menu init'); | ||
734 | return; | 736 | return; |
735 | } | 737 | } |
736 | 738 | ||