refactor: 💡 implement new pathing for hosts
This commit is contained in:
21 files changed
+106
-113
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import GeneratedHostSetModel from '../generated/models/host-set';
|
||||
import { fragmentArray } from 'ember-data-model-fragments/attributes';
|
||||
//import { computed } from '@ember/object';
|
||||
|
||||
export default class HostSetModel extends GeneratedHostSetModel {
|
||||
|
||||
@@ -12,18 +11,6 @@ export default class HostSetModel extends GeneratedHostSetModel {
|
||||
*/
|
||||
@fragmentArray('fragment-string', {readOnly: true}) host_ids;
|
||||
|
||||
// TODO this is here in case we want it in the future,
|
||||
// especially for the target / add host sets workflow
|
||||
/**
|
||||
* Returns the host catalog instance associated with this host set if
|
||||
* it is already loaded into the store.
|
||||
* @type {?HostCatalogModel}
|
||||
*/
|
||||
// @computed('host_catalog_id')
|
||||
// get hostCatalog() {
|
||||
// return this.store.peekRecord('host-catalog', this.host_catalog_id);
|
||||
// }
|
||||
|
||||
// =methods
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user