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

UI wrapped token fix #7398

Merged
merged 6 commits into from
Oct 1, 2019
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
Prev Previous commit
fix linting
meirish committed Oct 1, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit d8dbaf69563151e679d4891d50ab75b84bcd4716
2 changes: 1 addition & 1 deletion ui/app/components/auth-form.js
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ export default Component.extend(DEFAULTS, {
'selectedAuthIsPath',
function() {
let { wrappedToken, methods, selectedAuth, selectedAuthIsPath: keyIsPath } = this;
if (!methods && !this.wrappedToken) {
if (!methods && !wrappedToken) {
return {};
}
if (keyIsPath) {
3 changes: 1 addition & 2 deletions ui/tests/acceptance/wrapped-token-test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import { currentURL, visit, settled } from '@ember/test-helpers';
import { currentURL } from '@ember/test-helpers';
import { create } from 'ember-cli-page-object';
import auth from 'vault/tests/pages/auth';
import consoleClass from 'vault/tests/pages/components/console/ui-panel';
import { next } from '@ember/runloop';

const consoleComponent = create(consoleClass);