Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sagely1 committed Jan 4, 2025
1 parent 55d1e22 commit 69d2e2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { Component, Input, OnInit } from '@angular/core';

import { GeneDruggabilityComponent } from '../gene-druggability/gene-druggability.component';
import { Gene } from '@sagebionetworks/agora/api-client-angular';
import { AdditionalResource } from '@sagebionetworks/agora/models';
import { CommonModule } from '@angular/common';
import { ModalLinkComponent } from '@sagebionetworks/agora/shared';

@Component({
selector: 'agora-gene-resources',
standalone: true,
imports: [CommonModule, GeneDruggabilityComponent, ModalLinkComponent],
imports: [CommonModule],
templateUrl: './gene-resources.component.html',
styleUrls: ['./gene-resources.component.scss'],
})
Expand Down
2 changes: 1 addition & 1 deletion libs/agora/services/src/lib/github.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inject, Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';

Expand Down
4 changes: 3 additions & 1 deletion libs/agora/ui/src/lib/components/footer/footer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export class FooterComponent implements OnInit {
dataVersion$!: Observable<Dataversion>;
sha$!: Observable<string>;

tag = 'agora/v0.0.2';

navItems: Array<NavigationLink> = [
{
label: 'About',
Expand All @@ -50,7 +52,7 @@ export class FooterComponent implements OnInit {

ngOnInit(): void {
this.dataVersion$ = this.dataVersionService.getDataversion();
this.sha$ = this.gitHubService.getCommitSHA('agora/v0.0.2');
this.sha$ = this.gitHubService.getCommitSHA(this.tag);
}

getSiteVersion() {
Expand Down

0 comments on commit 69d2e2a

Please sign in to comment.