Skip to content

Commit

Permalink
[Fix] data source label value fixed (daxa-ai#239)
Browse files Browse the repository at this point in the history
* fix: data source label and files with findings label changed with documents with findings
  • Loading branch information
KumarNitin19 committed Feb 28, 2024
1 parent 704866e commit 1cc691a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions pebblo/app/pebblo-ui/src/constants/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export const APP_DETAILS_FINDINGS_TABLE = [
},
{
label: "Data Source",
field: "findings",
align: "end",
render:() => APP_DATA?.dataSources[0]?.name
},
];

Expand Down Expand Up @@ -103,8 +102,7 @@ export const FILES_WITH_FINDINGS_TABLE = [
},
{
label: "Data Source",
field: "findings",
align: "end",
render:() => APP_DATA?.dataSources[0]?.name
},
];

Expand Down Expand Up @@ -282,7 +280,7 @@ export const TABS_ARR_FOR_APPLICATIONS = [
isCritical: true,
},
{
label: "Files With Findings",
label: "Documents With Findings",
critical: APP_DATA?.documentsWithFindingsCount || 0,
value: 2,
isCritical: true,
Expand Down Expand Up @@ -320,7 +318,7 @@ export const TAB_PANEL_ARR_FOR_APPLICATIONS = [
},
{
value: {
title: "Files With Findings",
title: "Documents With Findings",
tableCol: TABLE_DATA_FOR_FILES_WITH_FINDINGS,
tableData: APP_DATA?.documentsWithFindings,
isDownloadReport: false,
Expand Down Expand Up @@ -348,7 +346,7 @@ export const TABS_ARR_FOR_APPLICATION_DETAILS = [
isCritical: true,
},
{
label: "Files With Findings",
label: "Documents With Findings",
critical: APP_DATA?.reportSummary?.filesWithFindings || 0,
outOf: APP_DATA?.reportSummary?.totalFiles || 0,
value: 1,
Expand Down Expand Up @@ -385,7 +383,7 @@ export const TAB_PANEL_ARR_FOR_APPLICATION_DETAILS = [
},
{
value: {
title: "Files With Findngs",
title: "Documents With Findings",
tableCol: FILES_WITH_FINDINGS_TABLE,
tableData: APP_DATA?.topFindings,
searchField: ["fileOwner", "fileName"],
Expand Down

0 comments on commit 1cc691a

Please sign in to comment.