web/storagenode: payout page bug fix

Change-Id: I6d1eb16ecc18f069a5c3b0e4e5cfec9db3dfb9ea
This commit is contained in:
NickolaiYurchenko 2020-07-24 13:23:51 +03:00
parent 92efffb48a
commit e982173d61
3 changed files with 5 additions and 5 deletions

View File

@ -91,7 +91,7 @@
<div class="column justify-start column-2"></div> <div class="column justify-start column-2"></div>
<div class="column justify-start column-3"></div> <div class="column justify-start column-3"></div>
<div class="column justify-start column-4"> <div class="column justify-start column-4">
<p class="estimation-table-container__total-area__text">{{ totalDiskSpace + 'h' }}</p> <p class="estimation-table-container__total-area__text">{{ totalDiskSpace + 'm' }}</p>
</div> </div>
<div class="column justify-start column-5"> <div class="column justify-start column-5">
<p class="estimation-table-container__total-area__text">{{ totalBandwidth }}</p> <p class="estimation-table-container__total-area__text">{{ totalBandwidth }}</p>

View File

@ -293,8 +293,8 @@ export default class PayoutPeriodCalendar extends Vue {
const availablePeriods: string[] = this.$store.state.payoutModule.payoutPeriods.map(payoutPeriod => payoutPeriod.period); const availablePeriods: string[] = this.$store.state.payoutModule.payoutPeriods.map(payoutPeriod => payoutPeriod.period);
// Creates month entities and adds them to list. // Creates month entities and adds them to list.
for (let i = 1; i <= 12; i++) { for (let i = 0; i < 12; i++) {
const period = `${year}-${i < 9 ? '0' + i : i}`; const period = `${year}-${i < 9 ? '0' + (i + 1) : (i + 1)}`;
const isMonthActive: boolean = availablePeriods.includes(period); const isMonthActive: boolean = availablePeriods.includes(period);
months.push(new MonthButton(year, i, isMonthActive, false)); months.push(new MonthButton(year, i, isMonthActive, false));

View File

@ -47,7 +47,7 @@
--tooltip-shadow-color: rgba(211, 214, 222, 0.4208); --tooltip-shadow-color: rgba(211, 214, 222, 0.4208);
--loading-screen-background-color: #e9ecf2; --loading-screen-background-color: #e9ecf2;
--loader-fill-color: #133e9c; --loader-fill-color: #133e9c;
--loader-logo-color: #929baf; --loader-logo-color: #929baf;
--tooltip-background-path: url('../../static/images/tooltipBack.png'); --tooltip-background-path: url('../../static/images/tooltipBack.png');
--tooltip-arrow-path: url('../../static/images/tooltipArrow.png'); --tooltip-arrow-path: url('../../static/images/tooltipArrow.png');
--info-image-arrow-middle-path: url('../../static/images/Message.png'); --info-image-arrow-middle-path: url('../../static/images/Message.png');
@ -101,7 +101,7 @@
--tooltip-shadow-color: rgba(211, 214, 222, 0.2); --tooltip-shadow-color: rgba(211, 214, 222, 0.2);
--loading-screen-background-color: #1e1e26; --loading-screen-background-color: #1e1e26;
--loader-fill-color: #4f97f7; --loader-fill-color: #4f97f7;
--loader-logo-color: #414148; --loader-logo-color: #414148;
--tooltip-background-path: url('../../static/images/tooltipBackDark.png'); --tooltip-background-path: url('../../static/images/tooltipBackDark.png');
--tooltip-arrow-path: url('../../static/images/tooltipArrowDark.png'); --tooltip-arrow-path: url('../../static/images/tooltipArrowDark.png');
--info-image-arrow-middle-path: url('../../static/images/MessageDark.png'); --info-image-arrow-middle-path: url('../../static/images/MessageDark.png');