Skip to content

Commit ac6a6c0

Browse files
Show profile ID in profile editor
1 parent 891d6dc commit ac6a6c0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

app/components/EditProfileModal.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default function EditProfileModal({
5858
</Modal.Header>
5959
<Modal.Body>
6060
<Form>
61-
<Form.Group className="mb-3" controlId="editProfileName">
61+
<Form.Group controlId="editProfileName">
6262
<Form.Label>Profile Name</Form.Label>
6363
<Form.Control
6464
type="text"
@@ -69,7 +69,10 @@ export default function EditProfileModal({
6969
disabled={isPreset}
7070
/>
7171
</Form.Group>
72-
<Form.Group className="mb-3" controlId="editProfileCommand">
72+
{!isAdd && (profile !== undefined) && <Form.Text className="text-muted">
73+
{"ID: " + profile!.uuid}
74+
</Form.Text>}
75+
<Form.Group className="mt-3" controlId="editProfileCommand">
7376
<Form.Label>Launch Command</Form.Label>
7477
<Form.Control
7578
as="textarea"

0 commit comments

Comments
 (0)