refactor: move download modal styles to a dedicated file and update import path

This commit is contained in:
Will Miao
2025-08-12 21:40:43 +08:00
parent b7e3e53697
commit 71ddfafa98
3 changed files with 1 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
@import 'components/modal/relink-civitai-modal.css';
@import 'components/modal/example-access-modal.css';
@import 'components/modal/support-modal.css';
@import 'components/download-modal.css';
@import 'components/modal/download-modal.css';
@import 'components/toast.css';
@import 'components/loading.css';
@import 'components/menu.css';

View File

@@ -285,8 +285,6 @@ export class DownloadManager {
document.getElementById('locationStep').style.display = 'block';
try {
const config = this.apiClient.apiConfig.config;
// Fetch model roots
const rootsData = await this.apiClient.fetchModelRoots();
const modelRoot = document.getElementById('modelRoot');