Add Category search menu. 👀

This commit is contained in:
StackZ
2020-06-20 16:37:03 +02:00
parent 7de012c2a2
commit 9860ea9719
5 changed files with 112 additions and 18 deletions
+3
View File
@@ -33,6 +33,9 @@ Store::Store(nlohmann::json &JS) {
}
this->sortedStore = this->unsortedStore; // Put that to sorted store as well.
if (this->storeJson.at("storeInfo").contains("categories")) {
this->availableCategories = this->storeJson["storeInfo"]["categories"].get<std::vector<std::string>>();
}
}
// Here we get the data of the UniStore!