open-vault/ui/app/routes/loading.js
Jordan Reimer dacb98ec91
Route renderTemplate Deprecation (#14646)
* removes renderTemplate usages

* adds _super to setupController override in oidc-callback route
2022-03-22 13:43:43 -06:00

10 lines
267 B
JavaScript

import Route from '@ember/routing/route';
export default Route.extend({
setupController(controller) {
this._super(...arguments);
const targetRoute = location.pathname || '';
controller.set('isCallback', targetRoute.includes('oidc/callback'));
},
});