refactor: remove unnecessary condition

pull/3193/head
mehmet-erim 6 years ago
parent 2db56d592f
commit 9bff2716d5

@ -73,7 +73,7 @@ function CreateUpdateTenantForm({ editingTenant = {}, submit, remove }) {
/>
</InputGroup>
<ValidationMessage>{errors.name}</ValidationMessage>
{!editingTenant || !editingTenant.id ? (
{!editingTenant.id ? (
<>
<InputGroup abpInputGroup>
<Label abpLabel>

Loading…
Cancel
Save