#674 remove consle logs

This commit is contained in:
Dániel Péter Sipos
2020-10-29 11:23:02 +01:00
parent 7925e9134a
commit 77e7d0effd
4 changed files with 4 additions and 12 deletions

View File

@@ -125,7 +125,6 @@ export class SearchComponent implements OnInit {
this.sub = this.searchOptions$.pipe(
switchMap((options) => this.service.search(options, null, followLink('logo')).pipe(getSucceededRemoteData(), startWith(undefined))))
.subscribe((results) => {
console.log('result', results)
this.resultsRD$.next(results);
});
this.scopeListRD$ = this.searchConfigService.getCurrentScope('').pipe(

View File

@@ -39,7 +39,6 @@ export class LinkService {
* @param linkToFollow the {@link FollowLinkConfig} to resolve
*/
public resolveLink<T extends HALResource>(model, linkToFollow: FollowLinkConfig<T>): T {
console.log('model', model, 'links', linkToFollow)
const matchingLinkDef = getLinkDefinition(model.constructor, linkToFollow.name);
if (hasNoValue(matchingLinkDef)) {

View File

@@ -1,10 +1,5 @@
<div class="thumbnail" *ngVar="src$ | async as src">
<ds-loading
*ngIf="!src"
message="{{ 'loading.default' | translate }}"
[showMessage]="false"
></ds-loading>
<ng-container *ngIf="src">
<ng-container *ngVar="src$ | async as src">
<div class="thumbnail">
<img [src]="src | dsSafeUrl" (error)="errorHandler($event)" />
</ng-container>
</div>
</div>
</ng-container>

View File

@@ -169,7 +169,6 @@ export class ObjectGridComponent implements OnInit {
this._objects$).pipe(map(([nbColumns, objects]) => {
if (hasValue(objects) && hasValue(objects.payload) && hasValue(objects.payload.page)) {
const page = objects.payload.page;
console.log(page)
const result = [];