mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 20:48:12 +08:00
fix
This commit is contained in:
parent
6a67cdd5af
commit
b0cf82c91b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ async function getUserThemes() {
|
|||
const ret = [];
|
||||
|
||||
for (const note of notes) {
|
||||
let value = note.getLabelValue('appTheme');
|
||||
let value = await note.getLabelValue('appTheme');
|
||||
|
||||
if (!value) {
|
||||
value = note.title.toLowerCase().replace(/[^a-z0-9]/gi, '-');
|
||||
|
|
Loading…
Reference in a new issue