From 74f8ec78fb952dd2c486ae8fcc8f69f8a5387ba5 Mon Sep 17 00:00:00 2001 From: Jerry Nummi Date: Sun, 8 Sep 2019 11:44:45 -0700 Subject: [PATCH] Remove Ui::ActionCheckbox --- app/templates/promise-tree-toolbar.hbs | 12 +++++++----- lib/ui/addon/components/action-checkbox.js | 18 ------------------ lib/ui/addon/components/error-page.js | 3 ++- lib/ui/app/components/ui/action-checkbox.js | 1 - 4 files changed, 9 insertions(+), 25 deletions(-) delete mode 100644 lib/ui/addon/components/action-checkbox.js delete mode 100644 lib/ui/app/components/ui/action-checkbox.js diff --git a/app/templates/promise-tree-toolbar.hbs b/app/templates/promise-tree-toolbar.hbs index 4b9ef4eadb..5e1b46b90f 100644 --- a/app/templates/promise-tree-toolbar.hbs +++ b/app/templates/promise-tree-toolbar.hbs @@ -52,12 +52,14 @@
+
diff --git a/lib/ui/addon/components/action-checkbox.js b/lib/ui/addon/components/action-checkbox.js deleted file mode 100644 index 93ec0e1df8..0000000000 --- a/lib/ui/addon/components/action-checkbox.js +++ /dev/null @@ -1,18 +0,0 @@ -import Component from '@ember/component'; - -export default Component.extend({ - tagName: 'input', - attributeBindings: ['type', 'checked'], - type: 'checkbox', - - checked: false, - - change() { - this._updateElementValue(); - }, - - _updateElementValue() { - this.set('checked', this.element.checked); - this.onUpdate(this.get('checked')); - } -}); diff --git a/lib/ui/addon/components/error-page.js b/lib/ui/addon/components/error-page.js index b9bcebb0e7..0ef34ea7a0 100644 --- a/lib/ui/addon/components/error-page.js +++ b/lib/ui/addon/components/error-page.js @@ -2,5 +2,6 @@ import Component from '@ember/component'; import layout from '../templates/components/error-page'; export default Component.extend({ - layout + layout, + tagName: '' }); diff --git a/lib/ui/app/components/ui/action-checkbox.js b/lib/ui/app/components/ui/action-checkbox.js deleted file mode 100644 index 7a3eb9bdc0..0000000000 --- a/lib/ui/app/components/ui/action-checkbox.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from 'ui/components/action-checkbox';