Skip to content

Commit

Permalink
fix(web): add 1-click modules
Browse files Browse the repository at this point in the history
 ref: DTRSD-101301

Signed-off-by: Anoop N <[email protected]>
  • Loading branch information
anooparveti committed Aug 22, 2023
1 parent 7576587 commit 9276706
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,11 @@ angular
$stateParams.productId,
$scope.model.domain,
)
.then((domain) => {
.then((data) => {
$scope.loading.domains = false;
$scope.pathPrefix = /\/$/.test(domain.path)
? domain.path
: `${domain.path}/`;
$scope.pathPrefix = /\/$/.test(data.path)
? data.path
: `${data.path}/`;

if (/^[/.]/.test($scope.pathPrefix)) {
$scope.rootPathPrefix = '';
Expand Down

0 comments on commit 9276706

Please sign in to comment.