remove search on start for MD
This commit is contained in:
parent
99d742c5ef
commit
8824bd3387
9 changed files with 9 additions and 32 deletions
|
|
@ -39,6 +39,9 @@ class MihBusinessDetailsServices {
|
|||
if (searchType.isNotEmpty) {
|
||||
newSearchType = searchType;
|
||||
}
|
||||
if (searchText.isEmpty && searchType.isEmpty) {
|
||||
return [];
|
||||
}
|
||||
var response = await http.get(
|
||||
Uri.parse(
|
||||
"${AppEnviroment.baseApiUrl}/business/search/$newSearchType/$newSearchText"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue