Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Resource ID to Asset ID #1092

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class AssetListComponent implements OnInit, OnDestroy {
direction;
tableScrollTop=0;
onScrollDataLoader: Subject<any> = new Subject<any>();
columnWidths = {'Resource ID': 2, 'Asset Type': 1, 'Account ID':1, 'Account Name': 1, 'Region': 1, 'Cloud Type': 1};
columnWidths = {'Asset ID': 2, 'Asset Type': 1, 'Account ID':1, 'Account Name': 1, 'Region': 1, 'Cloud Type': 1};
columnNamesMap = {};
columnsSortFunctionMap = {
Severity: (a, b, isAsc) => {
Expand Down Expand Up @@ -502,7 +502,7 @@ export class AssetListComponent implements OnInit, OnDestroy {
properties: "",
isLink: false
}
if(col.toLowerCase()=="resource id"){
if(col.toLowerCase()=="asset id"){
cellObj = {
...cellObj,
isLink: true
Expand Down Expand Up @@ -643,7 +643,7 @@ export class AssetListComponent implements OnInit, OnDestroy {
) {
resourceType = this.filterText.resourceType;
}
const resourceID = encodeURIComponent(row["Resource ID"].valueText);
const resourceID = encodeURIComponent(row["Asset ID"].valueText);
let updatedQueryParams = {...this.activatedRoute.snapshot.queryParams};
// updatedQueryParams["searchValue"] = undefined;
this.router.navigate([resourceType, resourceID], {
Expand Down