Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport/UI/net 438 add ent version suffix/privately inspired wolf self #19712

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: add suffix to consul version in sidenav
  • Loading branch information
valeriia-ruban committed Nov 21, 2023
commit 978f02f178a589abe92e74c3e83814c158cd3fa7
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ import { inject as service } from '@ember/service';

export default class HashiCorpConsul extends Component {
@service('flashMessages') flashMessages;
@service('env') env;

get consulVersion() {
const suffix = !['', 'oss'].includes(this.env.var('CONSUL_BINARY_TYPE')) ? '+ent' : '';
return `${this.env.var('CONSUL_VERSION')}${suffix}`;
}
}