mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 05:59:50 +00:00
fix(app): improve icon override handling in project edit dialog (#23768)
This commit is contained in:
parent
69b8ea0d66
commit
06066dbb7b
3 changed files with 23 additions and 19 deletions
|
|
@ -516,7 +516,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
|
|||
}
|
||||
|
||||
for (const project of projects) {
|
||||
if (project.icon?.color) continue
|
||||
if (project.icon?.color || project.icon.url) continue
|
||||
const worktree = project.worktree
|
||||
const existing = colors[worktree]
|
||||
const color = existing ?? pickAvailableColor(used)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue