unset active button

This commit is contained in:
Peter Olu 2022-05-11 16:16:24 +01:00
parent 86b04a0368
commit e2a41af0fc

View File

@ -349,7 +349,7 @@ function removeFromActiveTerms() {
); );
} }
function searchLogs() { function searchLogs() {
addToActiveTerms(); // addToActiveTerms();
currentSearchTerm.value = ""; currentSearchTerm.value = "";
let endpoint = "", let endpoint = "",
instance = ""; instance = "";
@ -434,6 +434,7 @@ function removeExcludeContent(index: number) {
excludingContentStr.value = ""; excludingContentStr.value = "";
} }
function setSearchTerm(term: string) { function setSearchTerm(term: string) {
if (!term) return;
currentSearchTerm.value = term; currentSearchTerm.value = term;
} }
function cancelSearchTerm() { function cancelSearchTerm() {