Skip to content
Snippets Groups Projects
Commit 2c5777bf authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: 1264 higthligth display row on data table

parent 1336357e
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,7 @@ $inputGroupTextColor: #444444;
&.is-highlighting {
background-color: $primary-color-lighter !important;
color: $white !important;
}
}
}
......@@ -159,7 +160,7 @@ $inputGroupTextColor: #444444;
@import "./base/table";
// OVERRIDE RULE PRIME NG THEME BELOW
.ui-table .ui-table-tbody > tr.ui-state-highlight {
.ui-table .ui-table-tbody > tr.ui-state-highlight:not(.is-highlighting) {
background-color: initial !important;
color: initial !important;
......
......@@ -517,7 +517,9 @@ export class SharedDataTablePresentational<TResource extends BaseResource> exten
}
isHighlighting(rowData: TResource): boolean {
return this.listHighlightingId.includes(rowData.resId) || this.multiSelectionValueOnAllPages.includes(rowData.resId);
const result = this.listHighlightingId.includes(rowData.resId) || this.multiSelectionValueOnAllPages.includes(rowData.resId);
console.error("RESULT", result);
return result;
}
displayActionOnCondition(action: DataTableActions<TResource>, resource: TResource = undefined): boolean {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment