Skip to content

Commit

Permalink
Merge pull request #3 from rajeshj11/feat-1780-runbooks-intergation
Browse files Browse the repository at this point in the history
fix: minor drop down issue
  • Loading branch information
rajesh-jonnalagadda authored Oct 2, 2024
2 parents 6775426 + 25cd6e8 commit 67772e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions keep-ui/app/runbooks/runbook-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ function SettingsPage() {
// closeModal(); // Close modal after submit
};

console.log("content", fileData);
return (
<div>
<Button onClick={openModal}>Settings</Button>
Expand All @@ -167,9 +168,11 @@ function SettingsPage() {
onChange={(e) => {
setValue("providerId", e.target.value);
setRefresh((prev) => prev + 1);
setValue('repoName', '');
}}
defaultValue={provider?.details?.authentication.provider_id ?? ""}
>
<option value="" disabled>
<option value="">
Select Provider
</option>
{runBookInstalledProviders.map((provider) => (
Expand All @@ -184,8 +187,9 @@ function SettingsPage() {
<select
{...register("repoName")}
style={{ width: "100%", padding: "8px", marginBottom: "10px" }}
defaultValue={provider?.details?.authentication.repository ?? ""}
>
<option value="" disabled>
<option value="">
Select Repo
</option>
{reposData.map((repo: any) => (
Expand Down

0 comments on commit 67772e0

Please sign in to comment.