Remove @ from data attributes that don't need it

This commit is contained in:
Joshua Ogle 2019-05-09 17:48:47 -06:00
parent 07059aefec
commit eecf7b58db
4 changed files with 5 additions and 6 deletions

View File

@ -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}}

View File

@ -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 />

View File

@ -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>

View File

@ -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();
});
});