mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: artifacts panel behaviour
This commit is contained in:
@@ -120,6 +120,11 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (contents.length === 0) {
|
||||||
|
showControls.set(false);
|
||||||
|
showArtifacts.set(false);
|
||||||
|
}
|
||||||
|
|
||||||
selectedContentIdx = contents ? contents.length - 1 : 0;
|
selectedContentIdx = contents ? contents.length - 1 : 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user