Skip to content

Commit

Permalink
scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Oct 24, 2023
1 parent 5a237a6 commit 8310889
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const loadNavbarItems = async (service: string): Promise<NavbarItem[]> =>
importRemote<{ EntityNavbarItems: NavbarItem[] }>({
esm: true,
url: `./services/${service}`,
scope: 'default',
scope: service,
module: 'entity-navbar-items',
}).then(({ EntityNavbarItems }) => EntityNavbarItems);
<%_ if (enableTranslation) { _%>
Expand All @@ -34,7 +34,7 @@ export const loadTranslationModule = async (service: string): Promise<Type<any>>
importRemote<{ LazyTranslationModule: Type<any> }>({
esm: true,
url: `./services/${service}`,
scope: 'default',
scope: service,
module: 'translation-module',
}).then(({ LazyTranslationModule }) => LazyTranslationModule);
<%_ } _%>
Expand All @@ -43,6 +43,7 @@ export const loadEntityModule = async (service: string): Promise<Type<any>> =>
importRemote<{ EntityRoutingModule: Type<any> }>({
esm: true,
url: `./services/${service}`,
scope: 'default',
scope: `./services/${service}`,
scope: service,
module: 'entity-routing',
}).then(({ EntityRoutingModule }) => EntityRoutingModule);

0 comments on commit 8310889

Please sign in to comment.