Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip correction #544

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
map((response: any) => response.data),
switchMap((response: any) => {
this.passwordForm.reset();
if (
/*if (
new Big(response.allowance.amount).gt(
new Big(this.campaign.initialBudget)
)
Expand All @@ -330,7 +330,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
// confirmationContent
return this.launchCampaignWithPerPublicationReward(campaign_info);
}
}
}*/

return this.campaignService
.allowBEP20(TokenOBj, campaign_info.pass)
Expand Down Expand Up @@ -361,7 +361,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
map((response: any) => response.data),
switchMap((response: any) => {
this.passwordForm.reset();
if (
/*if (
new Big(response.allowance.amount).gt(
new Big(this.campaign.initialBudget)
)
Expand All @@ -373,7 +373,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
// confirmationContent
return this.launchCampaignWithPerPublicationReward(campaign_info);
}
}
}*/

return this.campaignService
.allowPOLYGON(TokenOBj, campaign_info.pass)
Expand Down Expand Up @@ -408,7 +408,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
map((response: any) => response.data),
switchMap((response: any) => {
this.passwordForm.reset();
if (
/*if (
new Big(response.allowance.amount).gt(
new Big(this.campaign.initialBudget)
)
Expand All @@ -420,7 +420,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
// confirmationContent
return this.launchCampaignWithPerPublicationReward(campaign_info);
}
}
}*/

return this.campaignService
.allowTRON(TokenOBj, campaign_info.pass)
Expand Down Expand Up @@ -453,7 +453,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
map((response: any) => response.data),
switchMap((response: any) => {
this.passwordForm.reset();
if (
/*if (
new Big(response.allowance.amount).gt(
new Big(this.campaign.initialBudget)
)
Expand All @@ -465,7 +465,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
// confirmationContent
return this.launchCampaignWithPerPublicationReward(campaign_info);
}
}
}*/

return this.campaignService
.allowBTT(TokenOBj, campaign_info.pass)
Expand Down Expand Up @@ -497,7 +497,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
.pipe(
switchMap((response: any) => {
this.passwordForm.reset();
if (
/*if (
new Big(response.data.allowance.amount).gt(
new Big(this.campaign.initialBudget)
)
Expand All @@ -511,7 +511,7 @@ let dateInSeconds = Math.floor(date.getTime() / 1000);
campaign_info
);
}
}
}*/

return this.campaignService
.allowERC20(TokenOBj, campaign_info.pass)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ <h3 class="modal_title w-fit mx-auto">Select token</h3>
</div>
<!-------------bloc toggle------>

<div class="row d-flex justify-content-center pt-3 mb-1">
<div class="row d-flex justify-content-center pt-3 mb-1" *ngIf="selectRemunerateValue === eRemunerationType.Performance">
<div
class="col-xl-10 col-md-12 col-lg-10 col-sm-12 d-flex flex-row justify-content-between"
>
Expand Down