mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
fix(onboarding): adjust language selection logic to skip if already set and update prompt text
This commit is contained in:
@@ -91,6 +91,12 @@ export class OnboardingManager {
|
||||
return;
|
||||
}
|
||||
|
||||
// If language has already been set, skip language selection
|
||||
if (getStorageItem('onboarding_language_set')) {
|
||||
this.startTutorial();
|
||||
return;
|
||||
}
|
||||
|
||||
// Show language selection first
|
||||
await this.showLanguageSelection();
|
||||
}
|
||||
@@ -106,7 +112,7 @@ export class OnboardingManager {
|
||||
modal.innerHTML = `
|
||||
<div class="language-selection-content">
|
||||
<h2>Welcome to LoRA Manager</h2>
|
||||
<p>Choose your preferred language to get started, or continue with English.</p>
|
||||
<p>Choose Your Language / 选择语言 / 言語を選択</p>
|
||||
<div class="language-grid">
|
||||
${this.languages.map(lang => `
|
||||
<div class="language-option" data-language="${lang.code}">
|
||||
|
||||
Reference in New Issue
Block a user