mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
UI – 2 small unreleased bug fixes for software install policy automations UI (#22181)
## 2 small fixes for issues found in QA - Capitalize word in tooltip - Correctly render error message, with correctly colored icon - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
518a4a1f98
commit
f135d5b732
2 changed files with 8 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ import { InjectedRouter } from "react-router";
|
|||
import PATHS from "router/paths";
|
||||
import { AppContext } from "context/app";
|
||||
import { NotificationContext } from "context/notification";
|
||||
import { SoftwareInstallStatus, ISoftwarePackage } from "interfaces/software";
|
||||
import { ISoftwarePackage } from "interfaces/software";
|
||||
import softwareAPI from "services/entities/software";
|
||||
|
||||
import { buildQueryStringFromParams } from "utilities/url";
|
||||
|
|
@ -104,7 +104,7 @@ const STATUS_DISPLAY_OPTIONS: Record<
|
|||
<br />
|
||||
with exit code 0). Currently, if the software is uninstalled, the
|
||||
<br />
|
||||
"installed" status won't be updated.
|
||||
"Installed" status won't be updated.
|
||||
</>
|
||||
),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -111,16 +111,19 @@ const AddPackage = ({
|
|||
) {
|
||||
renderFlash(
|
||||
"error",
|
||||
`${reason}. ${(
|
||||
<>
|
||||
{reason}{" "}
|
||||
<CustomLink
|
||||
newTab
|
||||
url={`${LEARN_MORE_ABOUT_BASE_LINK}/read-package-version`}
|
||||
text="Learn more"
|
||||
iconColor="core-fleet-white"
|
||||
/>
|
||||
)} `
|
||||
</>
|
||||
);
|
||||
} else {
|
||||
renderFlash("error", getErrorMessage(e));
|
||||
}
|
||||
renderFlash("error", getErrorMessage(e));
|
||||
}
|
||||
|
||||
onExit();
|
||||
|
|
|
|||
Loading…
Reference in a new issue