Skip to content

Commit

Permalink
Merge pull request #98 from Realityloop/feature/9-menu
Browse files Browse the repository at this point in the history
chore(#9): update menu links javascript
  • Loading branch information
Decipher authored Aug 7, 2023
2 parents c53ddd0 + b6b6991 commit 4728e3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ export default {
isFlyout: ({ type }) => type === 'flyout',
},
mounted() {
created() {
try {
// Attach client side only javascript.
if (!process.client) return
if (this.isCollapsible) {
delete require.cache[require.resolve('civictheme/components/00-base/collapsible/collapsible')]
require('civictheme/components/00-base/collapsible/collapsible')
Expand Down

0 comments on commit 4728e3c

Please sign in to comment.