Skip to content

Commit c4d9f49

Browse files
committed
Readme and Feature events updated
1 parent e64e825 commit c4d9f49

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Standard Web App for Tech Communties. <br>
1010
Version: 3.1.1
1111

1212
### Show some :heart: and star the repo to support the project
13+
### If you are using Aura, Kindly [fill this form](https://forms.gle/SNpajdAnqbSac2AV9) for Aura Web App Directory
1314

1415
## Overview
1516

src/components/home/FeaturesEvents.vue

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,15 @@
3838
</v-row>
3939
<v-row v-else class="py-0 my-0 px-2">
4040
<v-col
41-
v-for="(item,i) in FeaturesEventID"
41+
v-for="(item,i) in featureEvendsData"
4242
:key="i"
4343
md="3"
4444
lg="3"
4545
sm="6"
4646
cols="6"
4747
class="pa-1"
4848
>
49-
<div v-for="(itemp,j) in AllCustomEvents" :key="j" class="pa-0 ma-0">
50-
<div v-if="itemp.id == item" class="pa-0 ma-0">
51-
<featureEventCard :data="itemp" />
52-
</div>
53-
</div>
49+
<featureEventCard :data="item" />
5450
</v-col>
5551
</v-row>
5652
</v-container>
@@ -72,17 +68,27 @@ export default {
7268
notFound: false,
7369
FeaturesEventID: [],
7470
AllCustomEvents: [],
75-
eData: []
71+
eData: [],
72+
featureEvendsData:[]
7673
}),
7774
mounted() {
7875
this.getFeaturesEventID();
7976
},
8077
methods: {
8178
getAllCustomEvents() {
79+
this.featureEvendsData = []
8280
service.getAllCustomEvents().then(res => {
8381
if (res.success) {
8482
this.loading = false;
8583
this.AllCustomEvents = res.data;
84+
85+
this.FeaturesEventID.map(res=>{
86+
this.AllCustomEvents.map(obj=>{
87+
if(obj.id == res){
88+
this.featureEvendsData.push(obj)
89+
}
90+
})
91+
})
8692
}
8793
});
8894
},

0 commit comments

Comments
 (0)