mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ADF-5433] enable strict mode for angular templates (#2191)
* enable strict mode for angular templates * update formatting * fix lint * fix formatting * remove deprecated method * upgrade to latest ADF * restore error handler
This commit is contained in:
@@ -74,8 +74,8 @@
|
||||
matInput
|
||||
type="text"
|
||||
[value]="getStringParamValue(param)"
|
||||
(blur)="setParamValue(param, $event.target.value)"
|
||||
(keyup.enter)="setParamValue(param, $event.target.value)"
|
||||
(blur)="onParamValueChanged($event, param)"
|
||||
(keyup.enter)="onParamValueChanged($event, param)"
|
||||
/>
|
||||
</mat-form-field>
|
||||
</ng-container>
|
||||
|
@@ -120,6 +120,11 @@ export class SettingsComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
onParamValueChanged(event: Event, param: SettingsParameterRef) {
|
||||
const target = event.target as HTMLInputElement;
|
||||
this.setParamValue(param, target.value);
|
||||
}
|
||||
|
||||
getBooleanParamValue(param: SettingsParameterRef): boolean {
|
||||
const result = this.storage.getItem(param.key);
|
||||
if (result) {
|
||||
|
Reference in New Issue
Block a user