Keep the old test_diffusers id around to prevent broken plugins

This commit is contained in:
cmdr2 2023-08-31 22:24:27 +05:30
parent a5962dae33
commit b458d57355
2 changed files with 2 additions and 0 deletions

View File

@ -815,6 +815,7 @@
<p>This license of this software forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, <br/>spread misinformation and target vulnerable groups. For the full list of restrictions please read <a href="https://github.com/easydiffusion/easydiffusion/blob/main/LICENSE" target="_blank">the license</a>.</p> <p>This license of this software forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, <br/>spread misinformation and target vulnerable groups. For the full list of restrictions please read <a href="https://github.com/easydiffusion/easydiffusion/blob/main/LICENSE" target="_blank">the license</a>.</p>
<p>By using this software, you consent to the terms and conditions of the license.</p> <p>By using this software, you consent to the terms and conditions of the license.</p>
</div> </div>
<input id="test_diffusers" type="checkbox" style="display: none" checked />
</div> </div>
</div> </div>
</body> </body>

View File

@ -469,6 +469,7 @@ async function getAppConfig() {
testDiffusersEnabled = false testDiffusersEnabled = false
} }
testDiffusers.checked = testDiffusersEnabled testDiffusers.checked = testDiffusersEnabled
document.querySelector("#test_diffusers").checked = testDiffusers.checked // don't break plugins
if (config.config_on_startup) { if (config.config_on_startup) {
if (config.config_on_startup?.use_v3_engine) { if (config.config_on_startup?.use_v3_engine) {