mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-04 13:27:12 +00:00
22 lines
509 B
JavaScript
22 lines
509 B
JavaScript
import config from 'ember-get-config';
|
|
|
|
export function initialize(owner) {
|
|
const universe = owner.lookup('service:universe');
|
|
|
|
if (universe) {
|
|
universe.registerOrganizationMenuItem(`v${config.version}`, {
|
|
index: 4,
|
|
route: null,
|
|
icon: 'code-branch',
|
|
iconSize: 'xs',
|
|
iconClass: 'mr-1.5',
|
|
wrapperClass: 'app-version-in-nav',
|
|
overwriteWrapperClass: true,
|
|
});
|
|
}
|
|
}
|
|
|
|
export default {
|
|
initialize,
|
|
};
|