Skip to content

Commit

Permalink
65272: AoT Build fix + LGTM fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Atmire-Kristof committed Jul 2, 2020
1 parent b77fd69 commit 92e47de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class EditItemTemplatePageComponent implements OnInit {
collectionRD$: Observable<RemoteData<Collection>>;

constructor(protected route: ActivatedRoute,
protected itemTemplateService: ItemTemplateDataService) {
public itemTemplateService: ItemTemplateDataService) {
}

ngOnInit(): void {
Expand Down
3 changes: 1 addition & 2 deletions src/app/core/data/metadata-field-data.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import { NotificationsService } from '../../shared/notifications/notifications.s
import { of as observableOf } from 'rxjs/internal/observable/of';
import { RestResponse } from '../cache/response.models';
import { HALEndpointServiceStub } from '../../shared/testing/hal-endpoint-service.stub';
import { CreateRequest, FindListOptions, PutRequest } from './request.models';
import { FindListOptions } from './request.models';
import { MetadataFieldDataService } from './metadata-field-data.service';
import { MetadataField } from '../metadata/metadata-field.model';
import { MetadataSchema } from '../metadata/metadata-schema.model';
import { RemoteDataBuildService } from '../cache/builders/remote-data-build.service';
import { createSuccessfulRemoteDataObject$ } from '../../shared/remote-data.utils';
Expand Down
8 changes: 2 additions & 6 deletions src/app/core/data/metadata-field-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ import { NotificationsService } from '../../shared/notifications/notifications.s
import { METADATA_FIELD } from '../metadata/metadata-field.resource-type';
import { MetadataField } from '../metadata/metadata-field.model';
import { MetadataSchema } from '../metadata/metadata-schema.model';
import { FindListOptions, FindListRequest } from './request.models';
import { FindListOptions } from './request.models';
import { FollowLinkConfig } from '../../shared/utils/follow-link-config.model';
import { Observable } from 'rxjs/internal/Observable';
import { hasValue } from '../../shared/empty.util';
import { find, skipWhile, switchMap, tap } from 'rxjs/operators';
import { RemoteData } from './remote-data';
import { tap } from 'rxjs/operators';
import { RequestParam } from '../cache/models/request-param.model';
import { PaginatedList } from './paginated-list';
import { getFirstSucceededRemoteDataPayload } from '../shared/operators';

/**
* A service responsible for fetching/sending data from/to the REST API on the metadatafields endpoint
Expand Down

0 comments on commit 92e47de

Please sign in to comment.