FIX: hide model mall from home page

Change-Id: Iafa2f81e15a598e8138e38121f880723d435aa30
This commit is contained in:
chunmao.guo 2023-07-03 14:51:57 +08:00 committed by Lane.Wei
parent 61acd01657
commit c75daf1ba6

View file

@ -3821,7 +3821,7 @@ std::string GUI_App::handle_web_request(std::string cmd)
else if (command_str.compare("modelmall_model_advise_get") == 0) {
if (mainframe && this->app_config->get("staff_pick_switch") == "true") {
if (mainframe->m_webview) {
mainframe->m_webview->SendDesignStaffpick(true);
mainframe->m_webview->SendDesignStaffpick(has_model_mall());
}
}
}