Skip to content

Commit 4a651a6

Browse files
[O2B-1170] Remove title from table cells (#1440)
1 parent ac51c05 commit 4a651a6

3 files changed

Lines changed: 1 addition & 9 deletions

File tree

lib/public/components/common/table/rows.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { noDataRow } from './noDataRow.js';
2424
*/
2525
const cell = (rowId, column, rowData) => {
2626
const cellData = rowData[column.key];
27-
const { key, title: isTitle, balloon = false, noEllipsis = false } = column;
27+
const { key, balloon = false, noEllipsis = false } = column;
2828
const format = column.format || ((text) => text);
2929

3030
const cellContent = format(cellData, rowData);
@@ -36,9 +36,6 @@ const cell = (rowId, column, rowData) => {
3636
const allParams = {
3737
id: `${columnId}-text`,
3838
};
39-
if (isTitle) {
40-
allParams.title = cellContent;
41-
}
4239

4340
// Keep value.size for retro-compatibility purpose
4441
return h(`td.${column.size} ${column.classes}`, {

lib/public/views/Environments/ActiveColumns/environmentsActiveColumns.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export const environmentsActiveColumns = {
3232
size: 'w-10 f6 w-wrapped',
3333
visible: true,
3434
primary: true,
35-
title: true,
3635
format: (environmentId) => buttonLinkWithDropdown(
3736
environmentId,
3837
'env-details',
@@ -48,23 +47,20 @@ export const environmentsActiveColumns = {
4847
visible: true,
4948
sortable: false,
5049
size: 'w-10',
51-
title: true,
5250
format: formatRunsList,
5351
balloon: true,
5452
},
5553
updatedAt: {
5654
name: 'Updated At',
5755
visible: true,
5856
sortable: false,
59-
title: true,
6057
size: 'w-10',
6158
format: (timestamp) => formatTimestamp(timestamp, false),
6259
},
6360
createdAt: {
6461
name: 'Created At',
6562
visible: true,
6663
sortable: false,
67-
title: true,
6864
size: 'w-10',
6965
format: (timestamp) => formatTimestamp(timestamp, false),
7066
},

lib/public/views/LhcFills/ActiveColumns/lhcFillsActiveColumns.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ export const lhcFillsActiveColumns = {
154154
visible: true,
155155
sortable: false,
156156
size: 'w-10',
157-
title: true,
158157
format: formatRunsList,
159158
balloon: true,
160159
},

0 commit comments

Comments
 (0)