Skip to content

Commit

Permalink
merge conflicts resolved and test snap updated
Browse files Browse the repository at this point in the history
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
  • Loading branch information
kohinoor98 committed Nov 21, 2023
1 parent 214e348 commit 9642587
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ exports[`Monitors renders 1`] = `
"textOnly": true,
},
Object {
<<<<<<< HEAD
"field": "user",
"name": "Last updated by",
"render": [Function],
"sortable": true,
"textOnly": true,
"truncateText": true,
},
Object {
=======
>>>>>>> 48e8be2 (remove last updated backported to 2.2)
"field": "latestAlert",
"name": "Latest alert",
"sortable": false,
Expand Down
18 changes: 0 additions & 18 deletions public/pages/Monitors/containers/Monitors/utils/tableUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,6 @@ export const columns = [
),
},
{
<<<<<<< HEAD
field: 'user',
name: 'Last updated by',
sortable: true,
truncateText: true,
textOnly: true,
/* There are 3 cases:
1. Monitors created by older versions and never updated.
These monitors won’t have User details in the monitor object. `monitor.user` will be null.
2. Monitors are created when security plugin is disabled, these will have empty User object.
(`monitor.user.name`, `monitor.user.roles` are empty )
3. Monitors are created when security plugin is enabled, these will have an User object. */
render: (_, item) =>
item.monitor.user && item.monitor.user.name ? item.monitor.user.name : '-',
},
{
=======
>>>>>>> 48e8be2 (remove last updated backported to 2.2)
field: 'latestAlert',
name: 'Latest alert',
sortable: false,
Expand Down

0 comments on commit 9642587

Please sign in to comment.