Skip to content

Commit

Permalink
fix: SWP-1198 content list filtering route (#41)
Browse files Browse the repository at this point in the history
* fix: targeted publishing services + tenant api url

* fix: SWP-1198 content list filtering route
  • Loading branch information
tomaszrondio authored and takeit committed Jun 15, 2018
1 parent a1c2c75 commit 6b9f373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/controllers/WebPublisherContentListsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export function WebPublisherContentListsController($scope, publisher, modal, $ti
$scope.newList = angular.extend({}, list);
this.metadataList = [];
this.selectedRoutes = [];
$scope.routes = null;
this.tenantArticles = {
page: 0,
params: {}
Expand All @@ -200,7 +201,6 @@ export function WebPublisherContentListsController($scope, publisher, modal, $ti

publisher.queryRoutes().then((routes) => {
$scope.routes = routes;

if ($scope.newList.filters.route && $scope.newList.filters.route.length > 0) {
routes.forEach((item) => {
if ($scope.newList.filters.route.indexOf(item.id + '') !== -1) {
Expand Down
2 changes: 1 addition & 1 deletion client/views/content-lists/content-list-automatic.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3 class="pull-left" translate>Automatic List Criteria</h3>
<div class="paneContent__content paneContent__content--hasFooter contentPadding">
<form class="flat">
<fieldset class="label-light">
<div class="item">
<div class="item" ng-if="routes">
<label translate>routes</label>
<div sd-meta-terms
class="data"
Expand Down

0 comments on commit 6b9f373

Please sign in to comment.