Skip to content

Commit 7383366

Browse files
committed
frontend: run "npm run format"
1 parent 56c5aaa commit 7383366

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

frontend/src/app/explorer/filters/select/select.component.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ export class SelectComponent extends ParentComponent implements OnInit {
182182
const dashboard_name =
183183
this.activeRoute.snapshot.paramMap.get('dashboard_name');
184184
return {
185-
query: this.selectService.buildquery(bq).build() as ElasticsearchQuery | Partial<ElasticsearchQuery>,
185+
query: this.selectService.buildquery(bq).build() as
186+
| ElasticsearchQuery
187+
| Partial<ElasticsearchQuery>,
186188
dashboard: dashboard_name ? dashboard_name : 'DEFAULT_DASHBOARD',
187189
};
188190
}
@@ -193,7 +195,7 @@ export class SelectComponent extends ParentComponent implements OnInit {
193195
this.loading = true;
194196
this.selectService.paginateData({
195197
query: this.isTheOrOperatorSelected ? this.orQuery : queryBody.query,
196-
dashboard: queryBody.dashboard
198+
dashboard: queryBody.dashboard,
197199
});
198200
}
199201

frontend/src/app/explorer/filters/services/interfaces.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ export interface ElasticsearchQuery {
158158
}
159159

160160
export interface ElasticsearchQueryPayload {
161-
dashboard: string,
162-
query: ElasticsearchQuery | Partial<ElasticsearchQuery>
161+
dashboard: string;
162+
query: ElasticsearchQuery | Partial<ElasticsearchQuery>;
163163
}
164164

165165
export interface SortOptions {

frontend/src/app/explorer/filters/services/select/select.service.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ export class SelectService {
4141
this.bodyBuilderService.resetOtherComponent({ caller: 'select' });
4242
}
4343

44-
paginateData(
45-
query: ElasticsearchQueryPayload,
46-
): Subscription {
44+
paginateData(query: ElasticsearchQueryPayload): Subscription {
4745
return this.http
4846
.post(this.api_end_point, query)
4947
.subscribe((d: ElasticsearchResponse) => {

0 commit comments

Comments
 (0)