mirror of
https://github.com/open-webui/computer.git
synced 2026-11-25 06:47:38 -05:00
refac
This commit is contained in:
1 parent
3df6c031f9
commit
e46db91f04
1 file changed
+1
-1
@@ -207,7 +207,7 @@
|
||||
nameCounts[name] = (nameCounts[name] || 0) + 1;
|
||||
}
|
||||
return Object.entries(nameCounts)
|
||||
.map(([name, count]) => count > 1 ? `${name} (${count})` : name)
|
||||
.map(([name, count]) => count > 1 ? `${count} ${name}` : name)
|
||||
.join(', ');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user