diff --git a/ember/app/components/top-nav.gjs b/ember/app/components/top-nav.gjs new file mode 100644 index 00000000..90472316 --- /dev/null +++ b/ember/app/components/top-nav.gjs @@ -0,0 +1,56 @@ +import { concat } from '@ember/helper'; +import { LinkTo } from '@ember/routing'; +import UkTooltip from 'ember-uikit/modifiers/uk-tooltip'; + +import appVersion from 'outdated/utils/app-version'; + + +
+ diff --git a/ember/app/components/top-nav/template.hbs b/ember/app/components/top-nav/template.hbs deleted file mode 100644 index 9abe6c02..00000000 --- a/ember/app/components/top-nav/template.hbs +++ /dev/null @@ -1,51 +0,0 @@ - \ No newline at end of file diff --git a/ember/app/utils/app-version.js b/ember/app/utils/app-version.js new file mode 100644 index 00000000..0417a87f --- /dev/null +++ b/ember/app/utils/app-version.js @@ -0,0 +1,7 @@ +import { versionRegExp } from 'ember-cli-app-version/utils/regexp'; + +import config from 'outdated/config/environment'; + +const appVersion = () => config.APP.version.match(versionRegExp); + +export default appVersion;