mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Remove all references to breadcrumbs outside of routes
This commit is contained in:
@@ -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') || [])
|
||||
|
||||
@@ -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'),
|
||||
});
|
||||
Reference in New Issue
Block a user