Skip to content

Commit

Permalink
repeat for org-search
Browse files Browse the repository at this point in the history
  • Loading branch information
rrchai committed Jan 10, 2024
1 parent e9cbf8a commit bb1fd52
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h3 class="section-title">Discover Organizations</h3>
/>
</div>
<div class="text-center">
<a mat-raised-button class="see-more" href="/org">See More</a>
<a mat-raised-button class="see-more" routerLink="/org">See More</a>
</div>
</div>
</section>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { CommonModule } from '@angular/common';
import { Component, OnInit } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { RouterModule } from '@angular/router';
import {
ImageAspectRatio,
ImageHeight,
Expand All @@ -24,7 +25,12 @@ import { catchError, map, switchMap } from 'rxjs/operators';
@Component({
selector: 'openchallenges-challenge-host-list',
standalone: true,
imports: [CommonModule, MatButtonModule, OrganizationCardComponent],
imports: [
CommonModule,
MatButtonModule,
OrganizationCardComponent,
RouterModule,
],
templateUrl: './challenge-host-list.component.html',
styleUrls: ['./challenge-host-list.component.scss'],
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>Organizations</h2>
/>
</p-panel>
</div>
<div class="main col">
<div *ngIf="organizationCards" class="main col">
<h3>Results ({{ searchResultsCount }})</h3>
<div class="card-group">
<openchallenges-organization-card
Expand Down

0 comments on commit bb1fd52

Please sign in to comment.