[Send] Update jslib and init function (#823)
* Update jslib to ee164bebc6
* Overloaded ngOnInit to call this.load
* Updated import groupings/order based on lint warnings
This commit is contained in:
parent
13a04976fd
commit
168f9a5525
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit e706261ed6e3eb654cc23623eefb94c9cd198c56
|
Subproject commit ee164bebc65aa56e41a122eb4ece8971eb23119b
|
|
@ -9,6 +9,7 @@ import {
|
||||||
import { SendView } from 'jslib/models/view/sendView';
|
import { SendView } from 'jslib/models/view/sendView';
|
||||||
|
|
||||||
import { SendComponent as BaseSendComponent } from 'jslib/angular/components/send/send.component';
|
import { SendComponent as BaseSendComponent } from 'jslib/angular/components/send/send.component';
|
||||||
|
|
||||||
import { AddEditComponent } from './add-edit.component';
|
import { AddEditComponent } from './add-edit.component';
|
||||||
|
|
||||||
import { ModalComponent } from '../modal.component';
|
import { ModalComponent } from '../modal.component';
|
||||||
|
@ -16,11 +17,12 @@ import { ModalComponent } from '../modal.component';
|
||||||
import { EnvironmentService } from 'jslib/abstractions/environment.service';
|
import { EnvironmentService } from 'jslib/abstractions/environment.service';
|
||||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
|
import { PolicyService } from 'jslib/abstractions/policy.service';
|
||||||
|
import { SearchService } from 'jslib/abstractions/search.service';
|
||||||
import { SendService } from 'jslib/abstractions/send.service';
|
import { SendService } from 'jslib/abstractions/send.service';
|
||||||
|
import { UserService } from 'jslib/abstractions/user.service';
|
||||||
|
|
||||||
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
|
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
|
||||||
import { PolicyService } from 'jslib/abstractions/policy.service';
|
|
||||||
import { SearchService, UserService } from 'jslib/abstractions';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-send',
|
selector: 'app-send',
|
||||||
|
@ -40,6 +42,11 @@ export class SendComponent extends BaseSendComponent {
|
||||||
searchService, policyService, userService);
|
searchService, policyService, userService);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async ngOnInit() {
|
||||||
|
await super.ngOnInit();
|
||||||
|
await this.load();
|
||||||
|
}
|
||||||
|
|
||||||
addSend() {
|
addSend() {
|
||||||
if (this.disableSend) {
|
if (this.disableSend) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue