open-nomad/ui/app/components/forbidden-message.js
Phil Renaud 281f6a6fba
[ui] Make the not-auth'd messages in the app less token-centric (#15557)
* Make the not-auth'd messages in the app less token-centric

* new helper to conditionally capitalize handlebars strings
2022-12-20 11:02:44 -05:00

14 lines
332 B
JavaScript

import Component from '@ember/component';
import { tagName } from '@ember-decorators/component';
import { inject as service } from '@ember/service';
@tagName('')
export default class ForbiddenMessage extends Component {
@service token;
@service store;
get authMethods() {
return this.store.findAll('auth-method');
}
}