Skip to content

Commit

Permalink
fix case of setting startpage on an entity not worked on yet
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Jul 7, 2021
1 parent e97b9d0 commit f3c1e85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hyphe_frontend/app/views/webentity.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ angular.module('hyphe.webentityController', [])
})
} else {
$scope.webentity.startpages.push(url);
if(!$scope.webentity.tags['CORE-STARTPAGES']) {
$scope.webentity.tags['CORE-STARTPAGES'] = {};
}
if(!$scope.webentity.tags['CORE-STARTPAGES']['user']) {
$scope.webentity.tags['CORE-STARTPAGES'].user = [];
}
Expand Down

0 comments on commit f3c1e85

Please sign in to comment.