mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
Fleet UI: [small fixes] Table horizontally scrolls, "Get help" is on one line (#14414)
This commit is contained in:
parent
414f83e29e
commit
102f2af372
@ -54,6 +54,8 @@
|
||||
color: $core-fleet-black;
|
||||
text-align: right;
|
||||
gap: $pad-small;
|
||||
min-width: max-content;
|
||||
margin-left: $pad-small;
|
||||
|
||||
button {
|
||||
margin-left: $pad-small;
|
||||
|
@ -248,12 +248,13 @@ const QueryDetailsPage = ({
|
||||
);
|
||||
|
||||
const renderReport = () => {
|
||||
const disabledCachingGlobally = true; // TODO: Update accordingly to config?.server_settings.query_reports_disabled
|
||||
const discardDataEnabled = true; // TODO: Update accordingly to storedQuery?.discard_data
|
||||
const disabledCachingGlobally =
|
||||
config?.server_settings.query_reports_disabled || true;
|
||||
const discardDataEnabled = storedQuery?.discard_data || true;
|
||||
const loggingSnapshot = storedQuery?.logging === "snapshot";
|
||||
const disabledCaching =
|
||||
disabledCachingGlobally || discardDataEnabled || !loggingSnapshot;
|
||||
const emptyCache = (queryReport?.results?.length ?? 0) === 0; // TODO: Update with API response
|
||||
const emptyCache = (queryReport?.results?.length ?? 0) === 0;
|
||||
|
||||
// Loading state
|
||||
if (isLoading) {
|
||||
|
@ -9,6 +9,10 @@
|
||||
margin-bottom: 44px; // Fills space where filter is removed
|
||||
}
|
||||
}
|
||||
|
||||
.data-table__wrapper {
|
||||
overflow-x: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
&__results-cta {
|
||||
|
@ -924,6 +924,9 @@ const queryReport = {
|
||||
columns: {
|
||||
model: "Display Audio",
|
||||
vendor: "Apple Inc.",
|
||||
version: "5.11",
|
||||
vender_id: "05ac",
|
||||
usb_address: "6",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user