mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix
This commit is contained in:
parent
6a67cdd5af
commit
b0cf82c91b
@ -48,7 +48,7 @@ async function getUserThemes() {
|
|||||||
const ret = [];
|
const ret = [];
|
||||||
|
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
let value = note.getLabelValue('appTheme');
|
let value = await note.getLabelValue('appTheme');
|
||||||
|
|
||||||
if (!value) {
|
if (!value) {
|
||||||
value = note.title.toLowerCase().replace(/[^a-z0-9]/gi, '-');
|
value = note.title.toLowerCase().replace(/[^a-z0-9]/gi, '-');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user