Skip to content

Commit

Permalink
show provider id in the update modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-cavazzi committed Oct 3, 2024
1 parent ae36898 commit 78795df
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions client/src/features/admin/UpdateConnectedServiceButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import { useForm } from "react-hook-form";
import {
Button,
Form,
Input,
Label,
Modal,
ModalBody,
ModalFooter,
Expand Down Expand Up @@ -157,6 +159,20 @@ function UpdateConnectedServiceModal({
<ModalBody>
{result.error && <RtkOrNotebooksError error={result.error} />}

<div className="mb-3">
<Label className="form-label" for="addConnectedServiceId">
Id
</Label>
<Input
className={cx("form-control")}
disabled={true}
id="addConnectedServiceId"
placeholder="Provider id"
type="text"
value={provider.id}
/>
</div>

<ConnectedServiceFormContent control={control} errors={errors} />
</ModalBody>
<ModalFooter>
Expand Down

0 comments on commit 78795df

Please sign in to comment.