mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-27 23:05:30 +08:00
Fix launcher CodeQL unused helpers
This commit is contained in:
@@ -155,12 +155,6 @@ window.__MOCK_STATE__ = {
|
|||||||
return error && error.message ? error.message : String(error);
|
return error && error.message ? error.message : String(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
function themeLabel(mode) {
|
|
||||||
if (mode === 'light') return 'Light';
|
|
||||||
if (mode === 'dark') return 'Dark';
|
|
||||||
return 'System';
|
|
||||||
}
|
|
||||||
|
|
||||||
function resolveTheme(state) {
|
function resolveTheme(state) {
|
||||||
var settings = state && state.desktopSettings ? state.desktopSettings : {};
|
var settings = state && state.desktopSettings ? state.desktopSettings : {};
|
||||||
var mode = settings.themeMode || 'system';
|
var mode = settings.themeMode || 'system';
|
||||||
@@ -188,6 +182,7 @@ window.__MOCK_STATE__ = {
|
|||||||
accountLabel: accountLabel,
|
accountLabel: accountLabel,
|
||||||
localUrl: localUrl,
|
localUrl: localUrl,
|
||||||
envCount: envCount,
|
envCount: envCount,
|
||||||
|
computerUseStatus: computerUseStatus,
|
||||||
version: VERSION,
|
version: VERSION,
|
||||||
logoUrl: LOGO_URL,
|
logoUrl: LOGO_URL,
|
||||||
platform: 'win',
|
platform: 'win',
|
||||||
|
|||||||
Reference in New Issue
Block a user