mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Update observer_can_run display value (#2279)
This commit is contained in:
parent
29aa6610b6
commit
81ef5d6a59
2 changed files with 4 additions and 1 deletions
1
changes/issue-2241-observer-can-run-bool
Normal file
1
changes/issue-2241-observer-can-run-bool
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Change display value for `observer_can_run` to "Yes/No" on manage queries page
|
||||
|
|
@ -128,7 +128,9 @@ const generateTableHeaders = (isOnlyObserver = true): IDataColumn[] => {
|
|||
),
|
||||
accessor: "observer_can_run",
|
||||
Cell: (cellProps: ICellProps): JSX.Element => (
|
||||
<TextCell value={capitalize(cellProps.cell.value.toString())} />
|
||||
<TextCell
|
||||
value={cellProps.row.original.observer_can_run ? "Yes" : "No"}
|
||||
/>
|
||||
),
|
||||
sortType: "basic",
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue