store the active theme
Cette révision appartient à :
@@ -10,4 +10,12 @@ export class Session {
|
||||
static bearerToken(): string | null {
|
||||
return localStorage.getItem('token');
|
||||
}
|
||||
|
||||
static setTheme(theme: string) {
|
||||
localStorage.setItem('theme', theme);
|
||||
}
|
||||
|
||||
static theme(): string | null {
|
||||
return localStorage.getItem('theme');
|
||||
}
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur