Browse Source

fix #88

pull/89/head
Simon Vieille 2 weeks ago
parent
commit
64b7f3f534
  1. 2
      src/SideMenu.vue
  2. 4
      templates/js/_topMenuApps.js

2
src/SideMenu.vue

@ -100,7 +100,7 @@ export default {
var dataId = parent.getAttribute('data-id')
dataId = dataId !== null ? dataId : ''
if (!parent.classList.contains('app-hidden') && !menuIsHidden) {
if (!parent.classList.contains('app-top-side-menu') && !parent.classList.contains('app-hidden') && !menuIsHidden) {
continue
}

4
templates/js/_topMenuApps.js

@ -59,6 +59,10 @@ const updateTopMenu = function() {
app.classList.remove('hidden')
app.classList.add('app-external-site')
if (topSideMenuApps.indexOf(dataId) !== -1) {
app.classList.add('app-top-side-menu')
}
appShown.push(app)
navigationAppsHtml = navigationAppsHtml + app.outerHTML

Loading…
Cancel
Save