Skip to content

Commit

Permalink
do not set webentity's manual depth until the user actually picked on…
Browse files Browse the repository at this point in the history
…e to avoid bypassing global one even when there was no actual manual change (#467)
  • Loading branch information
boogheta committed Jul 21, 2023
1 parent 8b34cff commit 3ec7638
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hyphe_frontend/app/views/prepareCrawls.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ angular.module('hyphe.preparecrawlsController', [])

$scope.scheduling = false

$scope.depthRange = [0,1]
$scope.depthRange = [0, 1]

$scope.queriesBatches = []
$scope.lookups = {}
Expand Down Expand Up @@ -460,10 +460,6 @@ angular.module('hyphe.preparecrawlsController', [])
/* Instanciate and open the Modal */
function instanciateModal(obj, ev) {

if (!obj.webentity.crawlDepth) {
obj.webentity.crawlDepth = $scope.crawlDepth + 0
}

$mdDialog.show({
controller: webentityStartPagesDialogController,
templateUrl: 'partials/webentitystartpagesmodal.html',
Expand Down

0 comments on commit 3ec7638

Please sign in to comment.