Skip to content

Commit

Permalink
fix: fix typos in groups (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekzyla authored Sep 11, 2023
1 parent bcd7337 commit bad506e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function AddDeviceModal(){
return (
<div>
<Modal onRequestClose={handleRequestClose} open={GrCtx.addDeviceOpen} style={{ width: '600px' }}>
<StyledModalHeader title={((GrCtx.isDeviceEdit) ? `Edit device` : `Add new device to group ${GrCtx.groupName}`)} onRequestClose={handleRequestClose} />
<StyledModalHeader title={((GrCtx.isDeviceEdit) ? `Edit device` : `Add a new device to group ${GrCtx.groupName}`)} onRequestClose={handleRequestClose} />
<StyledModalBody>
<StyledControlGroup labelWidth={140} label="IP address">
<ValidationGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function AddGroupModal() {
return (
<div>
<Modal onRequestClose={handleRequestClose} open={GrCtx.addGroupOpen} style={{ width: '600px' }}>
<Modal.Header title="Add a new group" onRequestClose={handleRequestClose} />
<Modal.Header title={((GrCtx.isGroupEdit) ? `Edit group` : `Add a new group`)} onRequestClose={handleRequestClose} />
<Modal.Body>
<ControlGroup label="Group Name">
<ValidationGroup>
Expand Down

0 comments on commit bad506e

Please sign in to comment.