We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a742b commit f1d6f86Copy full SHA for f1d6f86
ui/packages/consul-ui/app/components/child-selector/index.js
@@ -46,8 +46,7 @@ export default Component.extend(Slotted, {
46
let options = this.allOptions || [];
47
const items = this.selectedOptions || [];
48
if (get(items, 'length') > 0) {
49
- // filter out any items from the available options that have already been
50
- // selected/added
+ // filter out any items from the available options that have already been selected/added
51
// TODO: find a proper ember-data diff
52
options = options.filter((item) => !items.findBy('ID', get(item, 'ID')));
53
}
0 commit comments