Correct appApiAction directive use. (#1015)
This commit is contained in:
parent
c0f85366bd
commit
f15e78b91d
|
@ -19,9 +19,9 @@
|
||||||
{{'refresh' | i18n}}
|
{{'refresh' | i18n}}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<form #exportForm [appApiAction]="exportForm" class="d-inline">
|
<form #exportForm [appApiAction]="exportPromise" class="d-inline">
|
||||||
<button type="button" class="btn btn-sm btn-outline-primary btn-submit manual ml-3"
|
<button type="button" class="btn btn-sm btn-outline-primary btn-submit manual ml-3"
|
||||||
[ngClass]="{loading:refreshForm.loading}" (click)="exportEvents()"
|
[ngClass]="{loading:exportForm.loading}" (click)="exportEvents()"
|
||||||
[disabled]="loaded && exportForm.loading || dirtyDates">
|
[disabled]="loaded && exportForm.loading || dirtyDates">
|
||||||
<i class="fa fa-spinner fa-spin" aria-hidden="true"></i>
|
<i class="fa fa-spinner fa-spin" aria-hidden="true"></i>
|
||||||
<span>{{'export' | i18n}}</span>
|
<span>{{'export' | i18n}}</span>
|
||||||
|
|
|
@ -27,8 +27,8 @@ import { StorageService } from 'jslib/abstractions/storage.service';
|
||||||
import { UserService } from 'jslib/abstractions/user.service';
|
import { UserService } from 'jslib/abstractions/user.service';
|
||||||
|
|
||||||
import { OrganizationKeysRequest } from 'jslib/models/request/organizationKeysRequest';
|
import { OrganizationKeysRequest } from 'jslib/models/request/organizationKeysRequest';
|
||||||
import { OrganizationUserBulkRequest } from 'jslib/models/request/organizationUserBulkRequest';
|
|
||||||
import { OrganizationUserBulkConfirmRequest } from 'jslib/models/request/organizationUserBulkConfirmRequest';
|
import { OrganizationUserBulkConfirmRequest } from 'jslib/models/request/organizationUserBulkConfirmRequest';
|
||||||
|
import { OrganizationUserBulkRequest } from 'jslib/models/request/organizationUserBulkRequest';
|
||||||
import { OrganizationUserConfirmRequest } from 'jslib/models/request/organizationUserConfirmRequest';
|
import { OrganizationUserConfirmRequest } from 'jslib/models/request/organizationUserConfirmRequest';
|
||||||
|
|
||||||
import { OrganizationUserUserDetailsResponse } from 'jslib/models/response/organizationUserResponse';
|
import { OrganizationUserUserDetailsResponse } from 'jslib/models/response/organizationUserResponse';
|
||||||
|
|
Loading…
Reference in New Issue