Target correct view in portal mode & activity stream route definitions #3851 (#3869)

This commit is contained in:
Leigh Johnson
2016-11-04 16:51:06 -04:00
committed by GitHub
parent 88a8810815
commit 7167fd7c6b
2 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ export default {
$('body').removeClass('modal-open'); $('body').removeClass('modal-open');
}, },
views: { views: {
'list@': { '@': {
controller: 'activityStreamController', controller: 'activityStreamController',
templateProvider: function(StreamList, generateList) { templateProvider: function(StreamList, generateList) {
let html = generateList.build({ let html = generateList.build({

View File

@@ -32,10 +32,10 @@ export default {
} }
}, },
views: { views: {
'list@': { '@': {
templateUrl: templateUrl('portal-mode/portal-mode-layout'), templateUrl: templateUrl('portal-mode/portal-mode-layout'),
controller: ['$scope', '$rootScope', '$state', '$stateParams', 'GetBasePath', 'QuerySet', 'jobsDataset', controller: ['$scope', '$rootScope', '$state', '$stateParams', 'GetBasePath', 'QuerySet',
function($scope, $rootScope, $state, $stateParams, GetBasePath, qs, Dataset) { function($scope, $rootScope, $state, $stateParams, GetBasePath, qs) {
let path; let path;
init(); init();