Skip to content
Snippets Groups Projects
Commit c0db8412 authored by Max Frederiksen's avatar Max Frederiksen
Browse files

Address Johannas comments

parent c8f727d9
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!543CE-3152: Reset host field, Fix bad loading behaviour, implement RTK Hooks
Pipeline #197829 passed
...@@ -18,7 +18,7 @@ import { ...@@ -18,7 +18,7 @@ import {
import { getErrorMessage } from "../../common/Helper"; import { getErrorMessage } from "../../common/Helper";
import { FormElements } from "../../../types/common"; import { FormElements } from "../../../types/common";
type DeployIocFormDefaults = { interface DeployIocFormDefaults {
name: string; name: string;
description: string; description: string;
git: string; git: string;
...@@ -29,7 +29,7 @@ type DeployIocFormDefaults = { ...@@ -29,7 +29,7 @@ type DeployIocFormDefaults = {
fqdn: string; fqdn: string;
hostId: string; hostId: string;
}; };
}; }
interface IOCDeployDialogProps { interface IOCDeployDialogProps {
open: boolean; open: boolean;
...@@ -182,7 +182,10 @@ export function IOCDeployDialog({ ...@@ -182,7 +182,10 @@ export function IOCDeployDialog({
tagOrCommit.reference === deployIocFormDefaults.reference tagOrCommit.reference === deployIocFormDefaults.reference
) )
}} }}
onGitQueryValueSelect={(_: any, value: GitReference) => { onGitQueryValueSelect={(
_: React.SyntheticEvent<Element, Event>,
value: GitReference
) => {
setRevision(value?.reference); setRevision(value?.reference);
resetError(); resetError();
}} }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment