Skip to content

Commit

Permalink
Remove Ui::ActionCheckbox
Browse files Browse the repository at this point in the history
  • Loading branch information
nummi committed Sep 10, 2019
1 parent 8b8c7a5 commit 74f8ec7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 25 deletions.
12 changes: 7 additions & 5 deletions app/templates/promise-tree-toolbar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@

<div class="toolbar__checkbox js-with-stack">
<label for="instrument-with-stack">
{{ui/action-checkbox
onUpdate=(action "updateInstrumentWithStack")
checked=instrumentWithStack
id="instrument-with-stack"
}}
<Input
@type="checkbox"
@checked={{this.instrumentWithStack}}
@id="instrument-with-stack"
@change={{action "updateInstrumentWithStack" (not this.instrumentWithStack)}}
/>
Trace promises
</label>

</div>
</div>
18 changes: 0 additions & 18 deletions lib/ui/addon/components/action-checkbox.js

This file was deleted.

3 changes: 2 additions & 1 deletion lib/ui/addon/components/error-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import Component from '@ember/component';
import layout from '../templates/components/error-page';

export default Component.extend({
layout
layout,
tagName: ''
});
1 change: 0 additions & 1 deletion lib/ui/app/components/ui/action-checkbox.js

This file was deleted.

0 comments on commit 74f8ec7

Please sign in to comment.