@dcrackel/hematournamentui 1.0.142 → 1.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="rounded-xl w-72 shadow border border-dropdownSelect hover:border-bright"
|
|
3
|
-
<TournamentHeader :artwork="detail.images && detail.images.length > 0 ? detail.images[0].URL : ''" :tags="detail.tags" />
|
|
2
|
+
<div class="rounded-xl w-72 shadow border border-dropdownSelect hover:border-bright">
|
|
3
|
+
<TournamentHeader :artwork="detail.images && detail.images.length > 0 ? detail.images[0].URL : ''" :tags="detail.tags" @click="listEvents" />
|
|
4
4
|
<TournamentDetail :detail="detail" @listEvents="listEvents" @edit="handleEditClick"/>
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
@@ -44,10 +44,12 @@ export default {
|
|
|
44
44
|
},
|
|
45
45
|
methods: {
|
|
46
46
|
handleEditClick(event) {
|
|
47
|
+
console.log('handleEditClick')
|
|
47
48
|
this.$emit('edit', this.detail.TournamentId);
|
|
48
49
|
|
|
49
50
|
},
|
|
50
51
|
listEvents() {
|
|
52
|
+
console.log('handleListEvents')
|
|
51
53
|
this.$emit('listEvents', this.detail.TournamentId);
|
|
52
54
|
}
|
|
53
55
|
}
|