@dcrackel/hematournamentui 1.0.42 → 1.0.44
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,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex flex-col w-full pt-4 pb-3 px-3">
|
|
3
3
|
<BaseText :text="detail.Name" color="primary" size="xl" weight="semi-bold" />
|
|
4
|
-
<BaseText :text="detail.Address[0].Name" color="primary" size="sm" weight="normal" />
|
|
4
|
+
<BaseText :text="detail.Address && detail.Address[0].Name" color="primary" size="sm" weight="normal" />
|
|
5
5
|
<div class="mt-4 flex flex-col">
|
|
6
6
|
<div class="mt-4 flex flex-col" v-html="detail.Description"></div>
|
|
7
7
|
</div>
|
|
@@ -35,9 +35,6 @@ export default {
|
|
|
35
35
|
StartDate: '',
|
|
36
36
|
EndDate: '',
|
|
37
37
|
Description: '',
|
|
38
|
-
ClubId: null,
|
|
39
|
-
AddressId: null,
|
|
40
|
-
'Club.Name': '',
|
|
41
38
|
Address: [{
|
|
42
39
|
Name: '',
|
|
43
40
|
Address1: '',
|
package/src/stories/Templates/TournamentManagement/AddTournament/PageOne/AddTournamentPageOne.vue
CHANGED
|
@@ -93,9 +93,16 @@ export default {
|
|
|
93
93
|
tournament: {
|
|
94
94
|
name: '',
|
|
95
95
|
imageLink: '',
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
"address": [
|
|
97
|
+
{
|
|
98
|
+
"Name": "",
|
|
99
|
+
"Address1": "",
|
|
100
|
+
"City": "",
|
|
101
|
+
"State": "",
|
|
102
|
+
"Zip": "",
|
|
103
|
+
"Coordinates": ""
|
|
104
|
+
}
|
|
105
|
+
],
|
|
99
106
|
startDate: '',
|
|
100
107
|
totalDays: 1,
|
|
101
108
|
description: '',
|
|
@@ -141,9 +148,14 @@ export default {
|
|
|
141
148
|
});
|
|
142
149
|
},
|
|
143
150
|
handleAddressUpdate(updatedAddress) {
|
|
144
|
-
this.tournament.
|
|
145
|
-
|
|
146
|
-
|
|
151
|
+
this.tournament.address = [{
|
|
152
|
+
"Name": updatedAddress.Name,
|
|
153
|
+
"Address1": updatedAddress.Address1,
|
|
154
|
+
"City": updatedAddress.City,
|
|
155
|
+
"State": updatedAddress.State,
|
|
156
|
+
"Zip": updatedAddress.Zip,
|
|
157
|
+
"Coordinates": updatedAddress.coordinates
|
|
158
|
+
}];
|
|
147
159
|
},
|
|
148
160
|
handleDateUpdate(newDate) {
|
|
149
161
|
this.tournament.startDate = newDate;
|