mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fix linting issues from Query page edits (#667)
* Export Results button iff results && no errors * Export Errors button functional * Fullscreen always option * Fix linting issue
This commit is contained in:
parent
efb1c3940a
commit
8c969316dc
1 changed files with 9 additions and 11 deletions
|
|
@ -202,19 +202,17 @@ class QueryResultsTable extends Component {
|
|||
onClick={onToggleQueryFullScreen}
|
||||
variant="grey"
|
||||
>
|
||||
<KolideIcon
|
||||
name={isQueryFullScreen ? "windowed" : "fullscreen"}
|
||||
/>
|
||||
<KolideIcon name={isQueryFullScreen ? "windowed" : "fullscreen"} />
|
||||
</Button>
|
||||
{!hasNoResults && !queryIsRunning && (
|
||||
<Button
|
||||
className={`${baseClass}__export-btn`}
|
||||
onClick={onExportQueryResults}
|
||||
variant="inverse"
|
||||
>
|
||||
Export results
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
className={`${baseClass}__export-btn`}
|
||||
onClick={onExportQueryResults}
|
||||
variant="inverse"
|
||||
>
|
||||
Export results
|
||||
</Button>
|
||||
)}
|
||||
</header>
|
||||
<span className={`${baseClass}__table-title`}>Results</span>
|
||||
<div className={`${baseClass}__results-table-wrapper`}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue