Skip to content

Commit

Permalink
JNG-6001 fix menu flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
noherczeg committed Nov 5, 2024
1 parent b2be7d9 commit 64432a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const handleMenuItems = (source: NavItemType[], target: NavItemType[]{{# if appl
}
}
};
const filterMenus = (source: NavItemType[]{{# if application.authentication }}, principal: ServicesUserTransferStored{{/ if }}) => {
const filterMenus = (source: NavItemType[]{{# if application.authentication }}, principal: {{ classDataName application.principal 'Stored' }}{{/ if }}) => {
const target: NavItemType[] = [];
handleMenuItems(source, target{{# if application.authentication }}, principal{{/ if }});
return target;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { AlternativeApplicationGenerator } from './interfaces';

export const generateAlternativeApplications: AlternativeApplicationGenerator = (t: Function) => {
return {
{{ debug applications }}
{{# each (getAlternativeApplications application applications) as |app| }}
'{{ toUnderscore (getFullAppName app) }}': t('applications.{{ app.actor.simpleName }}', { defaultValue: '{{ app.actor.simpleName }}' }) as string,
{{/ each }}
Expand Down

0 comments on commit 64432a1

Please sign in to comment.