Skip to content

Commit

Permalink
fix: rename Gateway to Portal
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Sep 18, 2024
1 parent 5e8ffd6 commit bcdcd44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/GatewaysPage/AddNewGateway.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function AddGatewayForm() {
});
if (!success) return;

navigate('/gateways');
navigate('/portals');
},
});

Expand Down Expand Up @@ -96,7 +96,7 @@ function AddGatewayForm() {
<FormikTextInput
showErrorOnlyOfTouched
id="name"
label="Gateway name"
label="Portal name"
formik={formik}
/>
</FormRow>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GatewaysPage/GatewaysPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function MyGateways() {
>
<TableHead>
<TableRow>
<TableCell>Gateway</TableCell>
<TableCell>Portal</TableCell>
<TableCell>Registered</TableCell>
<TableCell></TableCell>
</TableRow>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GatewaysPage/gateway-schema.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as yup from 'yup';

export const editGatewaySchema = yup.object({
name: yup.string().label('Name').max(255).trim().required('Gateway name is required'),
name: yup.string().label('Name').max(255).trim().required('Portal name is required'),
public: yup.boolean(),
endpointUrl: yup
.string()
Expand Down

0 comments on commit bcdcd44

Please sign in to comment.