fix: message fix.

This commit is contained in:
dr.lt.data
2023-09-19 15:44:05 +09:00
parent ca2a9b894f
commit b31931333e
2 changed files with 5 additions and 2 deletions

View File

@@ -260,7 +260,7 @@ async function updateAll(update_check_checkbox) {
const response1 = await api.fetchApi('/comfyui_manager/update_comfyui');
const response2 = await api.fetchApi(`/customnode/update_all?mode=${mode}`);
if(response1.status != 200 || response2.status != 200) {
if(response1.status != 200 || response2.status != 201) {
app.ui.dialog.show('Failed to update ComfyUI or several extensions.<BR><BR>See terminal log.<BR>');
app.ui.dialog.element.style.zIndex = 9999;
return false;