Skip to content

Commit d8508e8

Browse files
authored
Merge pull request #15 from qcsmallblack/master
[chusan] Fix the bug of calculating level in profile page
2 parents 0fef65d + 2255062 commit d8508e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/sega/chunithm/v2/model/V2Profile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export interface V2Profile {
22
userName: string;
33
level: number;
4+
reincarnationNum: number;
45
exp: number;
56
point: number;
67
totalPoint: bigint;

src/app/sega/chunithm/v2/v2-profile/v2-profile.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h5 class="card-title mb-3">{{'ChuniV2.ProfilePage.Overview' | translate}}</h5>
77
<tbody>
88
<tr>
99
<th>Level</th>
10-
<td>{{profile.level}}</td>
10+
<td>{{profile.reincarnationNum * 100 + profile.level}}</td>
1111
</tr>
1212
<tr>
1313
<th>Rating</th>

0 commit comments

Comments
 (0)