mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-07 18:41:30 +01:00
Remove @ from data attributes that don't need it
This commit is contained in:
parent
07059aefec
commit
eecf7b58db
@ -1,5 +1,5 @@
|
||||
<LinkTo
|
||||
@class="toolbar-link"
|
||||
class="toolbar-link"
|
||||
@params={{params}}
|
||||
@data-test-secret-edit={{data-test-secret-edit}}
|
||||
@data-test-secondary-add={{data-test-secondary-add}}
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
<SecretLink
|
||||
@class="toolbar-link"
|
||||
class="toolbar-link"
|
||||
@mode={{mode}}
|
||||
@secret={{secret}}
|
||||
@replace={{replace}}
|
||||
@queryParams={{queryParams}}
|
||||
@data-test-edit-link={{data-test-edit-link}}
|
||||
@data-test-sign-link={{data-test-sign-link}}
|
||||
@ -11,7 +12,6 @@
|
||||
@data-test-backend-credentials={{data-test-backend-credentials}}
|
||||
@data-test-transit-action-link={{data-test-transit-action-link}}
|
||||
@data-test-transit-key-actions-link={{data-test-transit-key-actions-link}}
|
||||
@replace={{replace}}
|
||||
>
|
||||
{{yield}}
|
||||
<ICon @glyph={{glyph}} @size=12 />
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
</Page.header>
|
||||
{{#if (has-feature "Namespaces")}}
|
||||
<Page.sub-header>
|
||||
<Toolbar @class="toolbar-namespace-picker">
|
||||
<Toolbar class="toolbar-namespace-picker">
|
||||
<div class="field is-horizontal">
|
||||
<div class="field-label is-normal">
|
||||
<label class="is-label" for="namespace">Namespace</label>
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import { isPresent } from 'ember-cli-page-object';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | toolbar-actions', function(hooks) {
|
||||
@ -11,6 +10,6 @@ module('Integration | Component | toolbar-actions', function(hooks) {
|
||||
await render(hbs`<ToolbarActions>These are the toolbar actions</ToolbarActions>`);
|
||||
|
||||
assert.equal(this.element.textContent.trim(), 'These are the toolbar actions');
|
||||
assert.ok(isPresent('.toolbar-actions'));
|
||||
assert.dom('.toolbar-actions').exists();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user