mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-26 07:35:44 -03:00
Add initial sorting functionality on page load for card display
This commit is contained in:
@@ -25,6 +25,12 @@ function sortCards(sortBy) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 立即执行初始排序
|
||||||
|
const sortSelect = document.getElementById('sortSelect');
|
||||||
|
if (sortSelect) {
|
||||||
|
sortCards(sortSelect.value);
|
||||||
|
}
|
||||||
|
|
||||||
// Loading management
|
// Loading management
|
||||||
class LoadingManager {
|
class LoadingManager {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|||||||
Reference in New Issue
Block a user