Skip to content

Commit 50e08cb

Browse files
Merge branch 'develop' into fix/ddw-1040-bug-tooltips-on-dialogs-hidden-on-hover
2 parents 8194fa5 + ce56d89 commit 50e08cb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
### Fixes
1414

1515
- Fixed tooltip being hidden in several places ([PR-2934](https://github.com/input-output-hk/daedalus/pull/2934))
16+
- Fixed catalyst fund name ([PR 2946](https://github.com/input-output-hk/daedalus/pull/2946))
1617
- Fixed position of popup on syncing screen ([PR 2921](https://github.com/input-output-hk/daedalus/pull/2921))
1718
- Fixed issue with missing character when copying address from PDF ([PR 2925](https://github.com/input-output-hk/daedalus/pull/2925))
1819
- Fixed stake pool list view overlapping news feed ([PR 2917](https://github.com/input-output-hk/daedalus/pull/2917))

source/renderer/app/api/api.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2952,9 +2952,13 @@ export default class AdaApi {
29522952
catalystFund,
29532953
});
29542954

2955+
const fundNumber =
2956+
Number(catalystFund.fund_name?.match(/\d+/)?.[0]) ||
2957+
catalystFund.id + 1;
2958+
29552959
return {
29562960
current: {
2957-
number: catalystFund.id + 1,
2961+
number: fundNumber,
29582962
startTime: new Date(catalystFund.fund_start_time),
29592963
endTime: new Date(catalystFund.fund_end_time),
29602964
resultsTime: new Date(
@@ -2965,7 +2969,7 @@ export default class AdaApi {
29652969
),
29662970
},
29672971
next: {
2968-
number: catalystFund.id + 2,
2972+
number: fundNumber + 1,
29692973
startTime: new Date(catalystFund.next_fund_start_time),
29702974
registrationSnapshotTime: new Date(
29712975
catalystFund.next_registration_snapshot_time

0 commit comments

Comments
 (0)