Browse Source

fix(tenant-management): fix request search value of abp-button and handle form submit

pull/1606/head
TheDiaval 7 years ago
parent
commit
00474927dd
  1. 6
      npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html

6
npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html

@ -105,7 +105,7 @@
</button>
<abp-button
[requestType]="['POST', 'PUT', 'DELETE']"
requestURLContainSearchValue="change-password"
requestURLContainSearchValue="multi-tenancy"
iconClass="fa fa-check"
(click)="save()"
>{{ 'AbpIdentity::Save' | abpLocalization }}</abp-button
@ -114,7 +114,7 @@
</abp-modal>
<ng-template #tenantModalTemplate>
<form [formGroup]="tenantForm">
<form [formGroup]="tenantForm" (ngSubmit)="save()">
<div class="mt-2">
<div class="form-group">
<label for="name">{{ 'AbpTenantManagement::TenantName' | abpLocalization }}</label>
@ -125,7 +125,7 @@
</ng-template>
<ng-template #connectionStringModalTemplate>
<form [formGroup]="defaultConnectionStringForm">
<form [formGroup]="defaultConnectionStringForm" (ngSubmit)="save()">
<div class="mt-2">
<div class="form-group">
<div class="form-check">

Loading…
Cancel
Save