Commit dbdd88a7 authored by Mike Greiling's avatar Mike Greiling

Merge branch '23575-fix-frequent-items-dropdown-logging' into 'master'

Fix counting of frequently visited projects / groups

See merge request gitlab-org/gitlab!40415
parents 171257f1 edbd66f0
......@@ -28,8 +28,8 @@ export default function initFrequentItemDropdowns() {
return;
}
$(navEl).on('shown.bs.dropdown', () =>
import('./components/app.vue').then(({ default: FrequentItems }) => {
import('./components/app.vue')
.then(({ default: FrequentItems }) => {
// eslint-disable-next-line no-new
new Vue({
el,
......@@ -59,9 +59,11 @@ export default function initFrequentItemDropdowns() {
});
},
});
})
.catch(() => {});
eventHub.$emit(`${namespace}-dropdownOpen`);
}),
);
$(navEl).on('shown.bs.dropdown', () => {
eventHub.$emit(`${namespace}-dropdownOpen`);
});
});
}
---
title: Fix tracking of frequently visited projects and groups
merge_request: 40415
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment