Fix MITM on window
This commit is contained in:
1 parent
49a56612bf
commit
833069caac
22 files changed
+650
-199
No files matched your search
@@ -144,7 +144,7 @@ function buildLayout(providers, activeSet, lastSet, errorSet) {
|
||||
const error = !active && errorSet.has(p.provider?.toLowerCase());
|
||||
const nodeId = `provider-${p.provider}`;
|
||||
const data = {
|
||||
label: config.name || p.name || p.provider,
|
||||
label: (config.name !== p.provider ? config.name : null) || p.name || p.provider,
|
||||
color: config.color || "#6b7280",
|
||||
imageUrl: getProviderImageUrl(p.provider),
|
||||
textIcon: config.textIcon || (p.provider || "?").slice(0, 2).toUpperCase(),
|
||||
|
||||
Reference in new issue
Block a user