Skip to content

Commit

Permalink
fix: create edit asset group
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthjain-zemoso authored and santhosh-challa committed Feb 17, 2023
1 parent bec52a0 commit e93b5bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class CreateAssetGroupsComponent implements OnInit, OnDestroy {
}

openAttributeConfigure(attributeDetail, index) {
let dataSourceName = "/aws";
let dataSourceName = "/aws_";
if (!attributeDetail.includeAll) {
this.attributeValue = '';
this.attributeName = '';
Expand All @@ -250,7 +250,7 @@ export class CreateAssetGroupsComponent implements OnInit, OnDestroy {
this.selectedAttributeIndex = attributeDetail["index"] + '/_search?filter_path=aggregations.alldata.buckets.key';
}
else if(!this.isCreate && attributeDetail.dataSourceName){
dataSourceName = attributeDetail.dataSourceName;
dataSourceName = "/"+attributeDetail.dataSourceName+"_";
this.selectedAttributeIndex = dataSourceName + attributeDetail.targetName + '/_search?filter_path=aggregations.alldata.buckets.key';
}
else
Expand Down

0 comments on commit e93b5bf

Please sign in to comment.