mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix bug
This commit is contained in:
@@ -10,11 +10,10 @@ export class ThemeService {
|
||||
themes = [
|
||||
'gov',
|
||||
'default',
|
||||
'tribunal',
|
||||
'doneIt'
|
||||
]
|
||||
|
||||
currentTheme: 'gov' | 'default' | 'tribunal' | 'doneIt' = 'gov'
|
||||
currentTheme: 'gov' | 'default' | 'doneIt' = 'gov'
|
||||
keyName: string
|
||||
|
||||
constructor(
|
||||
@@ -30,7 +29,7 @@ export class ThemeService {
|
||||
|
||||
}
|
||||
|
||||
setTheme(theme: 'gov' | 'default' | 'tribunal') {
|
||||
setTheme(theme: 'gov' | 'default') {
|
||||
|
||||
if(this.themes.includes(theme)) {
|
||||
document.body.classList.remove("gov");
|
||||
|
||||
Reference in New Issue
Block a user