Skip to content

Commit

Permalink
Merge pull request #1480 from hypersign-protocol/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Vishwas1 authored Jul 21, 2022
2 parents 4b96764 + 60dabf4 commit a70975c
Show file tree
Hide file tree
Showing 38 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BinanceErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BinanceErc721.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BinanceNetwork.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BlockchainAvax.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BlockchainBsc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BlockchainEth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BlockchainOne.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BlockchainReef.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/BlockchainTez.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/DiscordJoin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/EthereumErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/EthereumErc721.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/HyperlinkUrl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@click="update()"
v-if="!done"
>
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/InputDate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg">
<i class="fa fa-plus" aria-hidden="true"></i>
{{data.score}}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done">
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/InputHyperlink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg">
<i class="fa fa-plus" aria-hidden="true"></i>
{{data.score}}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done">
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/InputNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg">
<i class="fa fa-plus" aria-hidden="true"></i>
{{data.score}}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done">
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/InputText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MaticErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MaticErc721.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MaticNetwork.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MoonErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" style="height:5px" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MoonErc721.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MoonbeamErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MoonbeamErc721.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/MoonriverErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img class="check-mark" src="../../../assets/check-circle-fill.svg" height="25px" v-if="done" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/ReefErc20.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/ReefErc721.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/SumsubKyc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/TelegramJoin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg"/>
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/TwitterFollow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/participant/ActionInputs/TwitterRetweet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</b-col>
<b-col cols="2" sm="2" md="2">
<b-badge class="btn-score" :style="buttonThemeCss" @click="update()" v-if="!done">
<img src="../../../assets/plus.svg" />
<i class="fa fa-plus" aria-hidden="true"></i>
{{ data.score }}
</b-badge>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config = {
kommunicateAppId: process.env.VUE_APP_KOMMINICATE_APP_ID,
webpush_public_key: process.env.VUE_APP_WEBPUSH_VAPID_PUBLIC_KEY,
investor_sign_key: process.env.VUE_APP_INVESTOR_API_SECRET_KEY,
appName: process.env.VUE_APP_TITLE,
appName: process.env.VUE_APP_TITLE || 'Fyre',
eventActionType: {
INPUT_TEXT: "INPUT_TEXT",
INPUT_NUMBER: "INPUT_NUMBER",
Expand Down
14 changes: 7 additions & 7 deletions src/views/admin/Events.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ export default {
const namePage = this.project.projectName;
this.isLoading = true;
const resp= await this.apiCallToSaveEvent()
const resp= await this.apiCallToSaveEvent()
this.$root.$emit("closePreview");
if (!this.isProjectEditing) {
//// not using this for the time being just to test
Expand Down Expand Up @@ -1249,30 +1249,30 @@ export default {
async apiCallToSaveEvent() {
if (this.checkIfEverythingIsFilled() !== true) {
return this.notifyErr(this.checkIfEverythingIsFilled());
throw new Error(this.checkIfEverythingIsFilled());
}
if (this.isProjectNameValid() !== true) {
return this.notifyErr(this.isProjectNameValid());
throw new Error(this.isProjectNameValid());
}
if (this.isValidSlug() !== true) {
return this.notifyErr(this.isValidSlug());
throw new Error(this.isValidSlug());
}
if (this.isLogoUrlValid() !== true) {
return this.notifyErr(this.isLogoUrlValid());
throw new Error(this.isLogoUrlValid());
}
if (
isNaN(parseInt(this.project.refereePoint)) ||
isNaN(parseInt(this.project.referralPoint))
) {
return this.notifyErr(Messages.EVENTS.REF_POINT.NOT_VALID_INP);
throw new Error(Messages.EVENTS.REF_POINT.NOT_VALID_INP);
}
if (
parseInt(this.project.refereePoint) < 0 ||
parseInt(this.project.referralPoint) < 0
) {
return this.notifyErr(Messages.EVENTS.REF_POINT.NOT_POS_INP);
throw new Error(Messages.EVENTS.REF_POINT.NOT_POS_INP);
}
//this.isLoading = true;
Expand Down

0 comments on commit a70975c

Please sign in to comment.