 Marc 'risson' Schmitt
					Marc 'risson' Schmitt
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							cf160f800d
						
					
				
				
					commit
					337956672f
				
			| @ -3,6 +3,7 @@ import "rapidoc"; | ||||
|  | ||||
| import { CSRFHeaderName } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_THEME_CHANGE } from "@goauthentik/common/constants"; | ||||
| import { globalAK } from "@goauthentik/common/global"; | ||||
| import { first, getCookie } from "@goauthentik/common/utils"; | ||||
| import { Interface } from "@goauthentik/elements/Interface"; | ||||
| import "@goauthentik/elements/ak-locale-context"; | ||||
| @ -61,6 +62,10 @@ export class APIBrowser extends Interface { | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|     async getTheme(): Promise<UiThemeEnum> { | ||||
|         return globalAK()?.brand.uiTheme || UiThemeEnum.Automatic; | ||||
|     } | ||||
|  | ||||
|     render(): TemplateResult { | ||||
|         return html` | ||||
|             <ak-locale-context> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user