fix(clients): persist project icons across reloads and reconnects (#10138)
This commit is contained in:
1 parent
050690d1bc
commit
eee05575eb
20 files changed
+1207
-62
No files matched your search
@@ -1,5 +1,13 @@
|
||||
export const PROJECT_FAVICON_FALLBACK_MARKER = "project-favicon-missing";
|
||||
|
||||
export function getProjectFaviconResourceKey(
|
||||
environmentId: string,
|
||||
workspaceRoot: string,
|
||||
faviconPath?: string | null,
|
||||
) {
|
||||
return JSON.stringify([environmentId, workspaceRoot, faviconPath || null]);
|
||||
}
|
||||
|
||||
export function getProjectFaviconCacheKey(
|
||||
environmentId: string,
|
||||
workspaceRoot: string,
|
||||
|
||||
Reference in new issue
Block a user