refactor: remove default data from search page

Closes #151
This commit is contained in:
Jovan Krunić
2021-11-03 12:41:04 +00:00
parent d3188f5090
commit d6cb7e1d3b
13 changed files with 101 additions and 47 deletions

View File

@@ -26,6 +26,8 @@ export class FoodDataListComponent extends SearchPageComponent {
* Sets the forced filter to present only places for eating/drinking
*/
initialize() {
this.showDefaultData = true;
if (this.positionService.position) {
this.sortQuery = [
{