Skip to content

Commit

Permalink
Feat: Show version on detail (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage authored Mar 1, 2024
1 parent 9b2e168 commit 7684503
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ <h3 class="card-title" id="instance-details">Instance details</h3>
<td><strong>Software</strong></td>
<td>{{detail.software}}</td>
</tr>
<tr>
<td><strong>Version</strong></td>
<td>{{detail.version}}</td>
</tr>
<tr>
<td>
<strong>Is claimed?</strong>
Expand Down
1 change: 1 addition & 0 deletions src/app/response/instance-detail.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface InstanceDetailResponse {
id: int;
domain: string;
software: string;
version: string | null;
claimed: int;
open_registrations: boolean;
email_verify: boolean | null;
Expand Down
2 changes: 2 additions & 0 deletions src/app/response/normalized-instance-detail.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export class NormalizedInstanceDetailResponse {
public id: int,
public domain: string,
public software: string,
public version: string | null,
public claimed: int,
public openRegistrations: boolean,
public emailVerify: boolean | null,
Expand Down Expand Up @@ -50,6 +51,7 @@ export class NormalizedInstanceDetailResponse {
detail.id,
detail.domain,
detail.software,
detail.version,
detail.claimed,
detail.open_registrations,
detail.email_verify,
Expand Down

0 comments on commit 7684503

Please sign in to comment.