mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 15:04:04 +00:00
minor coodle fixes
This commit is contained in:
@@ -20,7 +20,6 @@ export default {
|
||||
isSearchingForParticipants: false,
|
||||
searchResults: [],
|
||||
areSearchResultsShown: false,
|
||||
// todo: increase depending on feedback
|
||||
warningGroupSize: 10,
|
||||
searchParticipantsAbortController: null,
|
||||
searchParticipants: debounce(async () => {
|
||||
@@ -40,6 +39,9 @@ export default {
|
||||
|
||||
this.isSearchingForParticipants = false;
|
||||
}, 300),
|
||||
hideSearchResults: debounce(async () => {
|
||||
this.areSearchResultsShown = false;
|
||||
}, 100),
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -90,12 +92,6 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
async hideSearchResults() {
|
||||
// todo: clean up, don't use timeout
|
||||
setTimeout(() => {
|
||||
this.areSearchResultsShown = false;
|
||||
}, 100);
|
||||
},
|
||||
async selectSearchResult(searchResult) {
|
||||
if (
|
||||
searchResult.type === "group" &&
|
||||
|
||||
Reference in New Issue
Block a user