fix page refresh not re-applying sort/filter for #14588

fix path sortkey not including the filename for #14588
This commit is contained in:
AUTOMATIC1111
2024-02-02 19:30:59 +03:00
parent 2600370659
commit 5904e3f6b3
2 changed files with 12 additions and 13 deletions

View File

@@ -450,7 +450,7 @@ function extraNetworksControlRefreshOnClick(event, tabname, extra_networks_tabna
* @param tabname The name of the active tab in the sd webui. Ex: txt2img, img2img, etc.
* @param extra_networks_tabname The id of the active extraNetworks tab. Ex: lora, checkpoints, etc.
*/
var btn_refresh_internal = gradioApp().getElementById(tabname + "_extra_refresh_internal");
var btn_refresh_internal = gradioApp().getElementById(tabname + "_" + extra_networks_tabname + "_extra_refresh_internal");
btn_refresh_internal.dispatchEvent(new Event("click"));
}