[themes/ui] Fix no rerendering
This commit is contained in:
parent
c8ec3c74d8
commit
08c6b5ee15
1 changed files with 1 additions and 0 deletions
|
|
@ -192,6 +192,7 @@ export async function installTheme(id: string) {
|
|||
}
|
||||
|
||||
export function selectTheme(theme: Theme | null) {
|
||||
if (theme) theme.selected = true;
|
||||
Object.keys(themes).forEach(
|
||||
k => themes[k].selected = themes[k].id === theme?.id
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue