diff --git a/packages/bootstrap/extension/templates/js/src/index.js.tpl b/packages/bootstrap/extension/templates/js/src/index.js.tpl index 7565d94d38b..54cbe9f73e3 100644 --- a/packages/bootstrap/extension/templates/js/src/index.js.tpl +++ b/packages/bootstrap/extension/templates/js/src/index.js.tpl @@ -1,7 +1,7 @@ import routes from './routes'; import locales from './locales'; -const menu = { +const menus = { parent: 'topbar', name: '{{extensionName}}', title: '{{displayName}}', @@ -13,7 +13,7 @@ const menu = { const extensionConfig = { routes, - menus: [menu], + menus, locales, }; diff --git a/packages/bootstrap/extension/templates/ts/src/index.ts.tpl b/packages/bootstrap/extension/templates/ts/src/index.ts.tpl index 7565d94d38b..54cbe9f73e3 100644 --- a/packages/bootstrap/extension/templates/ts/src/index.ts.tpl +++ b/packages/bootstrap/extension/templates/ts/src/index.ts.tpl @@ -1,7 +1,7 @@ import routes from './routes'; import locales from './locales'; -const menu = { +const menus = { parent: 'topbar', name: '{{extensionName}}', title: '{{displayName}}', @@ -13,7 +13,7 @@ const menu = { const extensionConfig = { routes, - menus: [menu], + menus, locales, };