mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 00:01:49 +00:00
fix(frontend): fix theme leak (#4029)
This commit is contained in:
@@ -164,8 +164,12 @@
|
||||
link.id = cssId
|
||||
link.innerHTML = cssString
|
||||
head.appendChild(link)
|
||||
} else if (existingElement && cssString) {
|
||||
existingElement.innerHTML = cssString
|
||||
} else if (existingElement) {
|
||||
if (cssString) {
|
||||
existingElement.innerHTML = cssString
|
||||
} else {
|
||||
existingElement.innerHTML = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user