Skip to content

Commit b252e4f

Browse files
committed
Fix
1 parent 8d4d09e commit b252e4f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176
- build_configuration: compose
177177
tag_suffix: ""
178178
- build_configuration: staging
179-
tag_suffix: "-producer-demo"
179+
tag_suffix: ""
180180
runs-on: ubuntu-latest
181181
needs:
182182
- build-openmina-frontend-image

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM node:18 AS BUILD_IMAGE
2-
ARG BUILD_CONFIGURATION=staging
2+
ARG BUILD_CONFIGURATION=producer
33
WORKDIR /app
44
COPY . .
55
RUN npm install

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frontend",
3-
"version": "0.1",
3+
"version": "0.8.3",
44
"scripts": {
55
"install:deps": "npm install",
66
"start": "npm install && ng serve --configuration local --open",

frontend/src/app/features/block-production/won-slots/cards/block-production-won-slots-cards.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export class BlockProductionWonSlotsCardsComponent extends StoreDispatcher imple
7272
)
7373
.map(s => s.coinbaseRewards + s.txFeesRewards).reduce((a, b) => a + b, 0).toFixed(0);
7474

75+
this.card6.totalRewards = isNaN(+this.card6.totalRewards) ? '0' : this.card6.totalRewards;
7576
this.detect();
7677
}, filter(slots => slots.length > 0));
7778
}

0 commit comments

Comments
 (0)