add unit tests and update cursor pointer

This commit is contained in:
bymyself
2025-09-08 15:21:05 -07:00
parent 68fa58f353
commit 16a23e9081
2 changed files with 1 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ export const downloadFile = (url: string, filename?: string): void => {
* @param url - The URL to extract filename from
* @returns The extracted filename or null if not found
*/
export const extractFilenameFromUrl = (url: string): string | null => {
const extractFilenameFromUrl = (url: string): string | null => {
try {
const urlObj = new URL(url, window.location.origin)
return urlObj.searchParams.get('filename')

View File

@@ -417,7 +417,6 @@ const onNodeOutputsUpdate = (newOutputs: ExecutedWsMessage['output']) => {
}
const node = getNodeByLocatorId(rootGraph, locatorId)
if (node && newOutputs?.images?.length) {
const urls = nodeOutputs.getNodeImageUrls(node)
if (urls) {