Remove all references to breadcrumbs outside of routes

This commit is contained in:
Michael Lange
2018-06-27 13:39:57 -07:00
parent 9b68f15d4a
commit 0f90e066ee
15 changed files with 12 additions and 170 deletions

View File

@@ -1,12 +1,8 @@
import Controller, { inject as controller } from '@ember/controller';
import Controller from '@ember/controller';
import { computed } from '@ember/object';
import { alias } from '@ember/object/computed';
export default Controller.extend({
taskController: controller('allocations.allocation.task'),
breadcrumbs: alias('taskController.breadcrumbs'),
network: alias('model.resources.networks.firstObject'),
ports: computed('network.reservedPorts.[]', 'network.dynamicPorts.[]', function() {
return (this.get('network.reservedPorts') || [])

View File

@@ -1,7 +0,0 @@
import Controller, { inject as controller } from '@ember/controller';
import { alias } from '@ember/object/computed';
export default Controller.extend({
taskController: controller('allocations.allocation.task'),
breadcrumbs: alias('taskController.breadcrumbs'),
});