mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -70,7 +70,7 @@ export class SearchRadioComponent implements SearchWidget, OnInit {
|
||||
private getSelectedValue(): string {
|
||||
const options: any[] = this.settings['options'] || [];
|
||||
if (options && options.length > 0) {
|
||||
let selected = options.find(opt => opt.default);
|
||||
let selected = options.find((opt) => opt.default);
|
||||
if (!selected) {
|
||||
selected = options[0];
|
||||
}
|
||||
|
Reference in New Issue
Block a user