Skip to content

Commit

Permalink
flag added while creation of distribution,action show after expiry,te…
Browse files Browse the repository at this point in the history
…ammate can create distribution done
  • Loading branch information
Raj6939 committed Jan 6, 2023
1 parent d1626b5 commit ac50f0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/components/admin/marketPlaceSlider/marketPlaceSlide.vue
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export default {
return {
/// TODO: Need to do it in a neat way
authToken: localStorage.getItem("authToken"),
accessToken:localStorage.getItem("accessToken"),
eventToAirdrop: {},
stickyNoteTitle: "💡 InfoBox",
selectedEvent: null,
Expand Down Expand Up @@ -520,6 +521,7 @@ export default {
})
if (index > -1) {
this.eventToAirdrop.actions[index] = this.flash
this.eventToAirdrop["isRewardDistribution"] = true
console.log(this.eventToAirdrop)
const url = `${this.$config.studioServer.BASE_URL}api/v1/project`;
let headers = {
Expand Down
4 changes: 2 additions & 2 deletions src/components/participant/Action.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Profile v-if="userProfile" :user="userProfile" :userReferralCount="userReferralCount" />

<template v-for="(actionItem, index) in ActionSchema">
<component v-if="actionItem.type==='INFO_TEXT'" :is="CapitaliseString(actionItem.type)" :key="index"
<component v-if="actionItem.type==='INFO_TEXT' && projectStatus === true" :is="CapitaliseString(actionItem.type)" :key="index"
:idValue="index" :data="actionItem" :done="actionItem.isDone" :authToken="authToken"
@input="updateUserInfo(actionItem, $event)" :themeData="themeData">
</component>
Expand All @@ -17,7 +17,7 @@
:eventId="eventId"/>
<template v-for="(actionItem, index) in ActionSchema">

<component v-if="(actionItem.type !== 'INFO_TEXT') && (actionItem.type !=='PRIZE_CARD') "
<component v-if="(actionItem.type !== 'INFO_TEXT') && (actionItem.type !=='PRIZE_CARD') && projectStatus === true"
:is="CapitaliseString(actionItem.type)" :key="index" :idValue="index" :data="actionItem" :authToken="authToken"
:done="actionItem.isDone" @input="updateUserInfo(actionItem, $event)" :themeData="themeData">
</component>
Expand Down

0 comments on commit ac50f0e

Please sign in to comment.