mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	revert SD icon to show even without Extras present
This commit is contained in:
		| @@ -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); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user