revert SD icon to show even without Extras present

This commit is contained in:
RossAscends
2023-05-18 04:41:01 +09:00
parent 661b4fec9a
commit ef30befd4d

View File

@ -303,8 +303,6 @@ async function loadExtrasModels() {
return []; return [];
} }
addSDGenButtons();
const url = new URL(getApiUrl()); const url = new URL(getApiUrl());
url.pathname = '/api/image/model'; url.pathname = '/api/image/model';
const getCurrentModelResult = await fetch(url, defaultRequestArgs); const getCurrentModelResult = await fetch(url, defaultRequestArgs);
@ -607,7 +605,7 @@ async function moduleWorker() {
} }
} }
addSDGenButtons();
setInterval(moduleWorker, UPDATE_INTERVAL); setInterval(moduleWorker, UPDATE_INTERVAL);