mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 20:43:08 +00:00
#674 remove consle logs
This commit is contained in:
@@ -125,7 +125,6 @@ export class SearchComponent implements OnInit {
|
|||||||
this.sub = this.searchOptions$.pipe(
|
this.sub = this.searchOptions$.pipe(
|
||||||
switchMap((options) => this.service.search(options, null, followLink('logo')).pipe(getSucceededRemoteData(), startWith(undefined))))
|
switchMap((options) => this.service.search(options, null, followLink('logo')).pipe(getSucceededRemoteData(), startWith(undefined))))
|
||||||
.subscribe((results) => {
|
.subscribe((results) => {
|
||||||
console.log('result', results)
|
|
||||||
this.resultsRD$.next(results);
|
this.resultsRD$.next(results);
|
||||||
});
|
});
|
||||||
this.scopeListRD$ = this.searchConfigService.getCurrentScope('').pipe(
|
this.scopeListRD$ = this.searchConfigService.getCurrentScope('').pipe(
|
||||||
|
1
src/app/core/cache/builders/link.service.ts
vendored
1
src/app/core/cache/builders/link.service.ts
vendored
@@ -39,7 +39,6 @@ export class LinkService {
|
|||||||
* @param linkToFollow the {@link FollowLinkConfig} to resolve
|
* @param linkToFollow the {@link FollowLinkConfig} to resolve
|
||||||
*/
|
*/
|
||||||
public resolveLink<T extends HALResource>(model, linkToFollow: FollowLinkConfig<T>): T {
|
public resolveLink<T extends HALResource>(model, linkToFollow: FollowLinkConfig<T>): T {
|
||||||
console.log('model', model, 'links', linkToFollow)
|
|
||||||
const matchingLinkDef = getLinkDefinition(model.constructor, linkToFollow.name);
|
const matchingLinkDef = getLinkDefinition(model.constructor, linkToFollow.name);
|
||||||
|
|
||||||
if (hasNoValue(matchingLinkDef)) {
|
if (hasNoValue(matchingLinkDef)) {
|
||||||
|
@@ -1,10 +1,5 @@
|
|||||||
<div class="thumbnail" *ngVar="src$ | async as src">
|
<ng-container *ngVar="src$ | async as src">
|
||||||
<ds-loading
|
<div class="thumbnail">
|
||||||
*ngIf="!src"
|
|
||||||
message="{{ 'loading.default' | translate }}"
|
|
||||||
[showMessage]="false"
|
|
||||||
></ds-loading>
|
|
||||||
<ng-container *ngIf="src">
|
|
||||||
<img [src]="src | dsSafeUrl" (error)="errorHandler($event)" />
|
<img [src]="src | dsSafeUrl" (error)="errorHandler($event)" />
|
||||||
</ng-container>
|
</div>
|
||||||
</div>
|
</ng-container>
|
||||||
|
@@ -169,7 +169,6 @@ export class ObjectGridComponent implements OnInit {
|
|||||||
this._objects$).pipe(map(([nbColumns, objects]) => {
|
this._objects$).pipe(map(([nbColumns, objects]) => {
|
||||||
if (hasValue(objects) && hasValue(objects.payload) && hasValue(objects.payload.page)) {
|
if (hasValue(objects) && hasValue(objects.payload) && hasValue(objects.payload.page)) {
|
||||||
const page = objects.payload.page;
|
const page = objects.payload.page;
|
||||||
console.log(page)
|
|
||||||
|
|
||||||
const result = [];
|
const result = [];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user