mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
update IPlatformString to SelectedPlatformString in SaveQueryModal
This commit is contained in:
parent
1d6870f0a7
commit
810e76d850
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ import {
|
|||
SCHEDULE_PLATFORM_DROPDOWN_OPTIONS,
|
||||
} from "utilities/constants";
|
||||
import RevealButton from "components/buttons/RevealButton";
|
||||
import { IPlatformString } from "interfaces/platform";
|
||||
import { SelectedPlatformString } from "interfaces/platform";
|
||||
import {
|
||||
ICreateQueryRequestBody,
|
||||
ISchedulableQuery,
|
||||
|
|
@ -63,7 +63,7 @@ const SaveQueryModal = ({
|
|||
const [
|
||||
selectedPlatformOptions,
|
||||
setSelectedPlatformOptions,
|
||||
] = useState<IPlatformString>(existingQuery?.platform ?? "");
|
||||
] = useState<SelectedPlatformString>(existingQuery?.platform ?? "");
|
||||
const [
|
||||
selectedMinOsqueryVersionOptions,
|
||||
setSelectedMinOsqueryVersionOptions,
|
||||
|
|
|
|||
Loading…
Reference in a new issue