Skip to content

Commit

Permalink
Merge pull request #4 from edumeet/fix-tenant
Browse files Browse the repository at this point in the history
Fix tenant
  • Loading branch information
N7Remus authored Nov 7, 2023
2 parents 714c878 + 77066ce commit 393397a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/tenant/tenant/tenantFQDNList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ const TenantTable = () => {
const handleClickOpen = () => {
setId(0);
setTenantId(0);
setTenantIdOption(undefined);
setDescription('');
setFQDN('');
setOpen(true);
Expand Down Expand Up @@ -285,7 +286,6 @@ const TenantTable = () => {
getOptionLabel={(option) => option.name}
fullWidth
disableClearable
id="combo-box-demo"
onChange={handleTenantIdChange}
value={tenantIdOption}
sx={{ marginTop: '8px' }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/tenant/tenant/tenantList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const TenantTable = () => {

fetchProduct();
setOpen(false);
setAlertMessage('Successfull add!');
setAlertMessage('Successfull add! (please reload page)');
setAlertSeverity('success');
setAlertOpen(true);
} catch (error) {
Expand Down

0 comments on commit 393397a

Please sign in to comment.