Prevent multiple search refreshes when unnecessary

This commit is contained in:
The Magician 2024-06-12 21:28:15 +01:00
parent 828341ce80
commit c45347ec25
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ func getSearchOptions(db *sql.DB) {
options, err := logic.GetAllSearchOptions(db, searchCriteria)
logic.Check(err)
searchOptions = options
shouldRefreshSearch = false
fmt.Println("READY")
fmt.Println("RUN")
}