@dcrackel/hematournamentui 1.0.239 → 1.0.240
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/dist/HemaTournamentUI-lib.es.js +3 -3
- package/dist/HemaTournamentUI-lib.umd.js +1 -1
- package/package.json +1 -1
- package/src/stories/Organisms/ComplexInputs/FindPerson/FindPerson.vue +2 -2
- package/src/stories/Templates/TournamentManagement/AddTournament/PageOne/AddTournamentPageOne.vue +1 -1
- package/src/stories/Templates/TournamentManagement/AddTournament/PageTwo/AddTournamentPageTwo.vue +3 -3
package/package.json
CHANGED
|
@@ -78,8 +78,8 @@ export default {
|
|
|
78
78
|
watch: {
|
|
79
79
|
inputValue(newValue) {
|
|
80
80
|
if (newValue) {
|
|
81
|
-
this.showDropdown = newValue.length >
|
|
82
|
-
this.showAddNew = newValue.length >
|
|
81
|
+
this.showDropdown = newValue.length > 1;
|
|
82
|
+
this.showAddNew = newValue.length > 1 && this.filteredPersons.length === 0;
|
|
83
83
|
this.debounceSearch();
|
|
84
84
|
}
|
|
85
85
|
}
|
package/src/stories/Templates/TournamentManagement/AddTournament/PageOne/AddTournamentPageOne.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="border border-dropdownSelect rounded-lg p-9 bg-neutral">
|
|
2
|
+
<div class="border border-dropdownSelect rounded-lg p-9 bg-neutral w-full">
|
|
3
3
|
<div class="w-full flex flex-row justify-center">
|
|
4
4
|
<BaseText :color="'quaternary'" :size="'sm'" :text="'Step 1 out of 2'" :weight="'normal'" data-testid="text-step"/>
|
|
5
5
|
</div>
|
package/src/stories/Templates/TournamentManagement/AddTournament/PageTwo/AddTournamentPageTwo.vue
CHANGED
|
@@ -107,9 +107,9 @@ export default {
|
|
|
107
107
|
this.localTournament.externalLinks = this.localTournament.externalLinks.filter(link => link.url !== urlToRemove);
|
|
108
108
|
},
|
|
109
109
|
handleSubmit() {
|
|
110
|
-
if (this.areAllLinksValid()) {
|
|
111
|
-
this.$emit('submit', this.localTournament);
|
|
112
|
-
}
|
|
110
|
+
//if (this.areAllLinksValid()) {
|
|
111
|
+
this.$emit('submit:tournament', this.localTournament);
|
|
112
|
+
//}
|
|
113
113
|
},
|
|
114
114
|
isValidUrl(url) {
|
|
115
115
|
const regex = /^(https?:\/\/)?([\da-z.-]+)\.([\da-z.]+)\.([\/\w\W]+)\/?$/;
|