Skip to content

Commit

Permalink
made it impossible to create a local profile without a name or version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kensaa committed Jan 13, 2024
1 parent 17116df commit 2c378a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion launcher/src/pages/ProfileManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ function ProfileEdit({ profile, hide }: ProfileEditProps) {
/>
</Form.Group>
<Form.Group className='d-flex justify-content-center mt-2'>
<Button type='submit' variant='success'>
<Button
type='submit'
variant='success'
disabled={name === '' || version === ''}
>
Save
</Button>
</Form.Group>
Expand Down

0 comments on commit 2c378a3

Please sign in to comment.