mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fix
This commit is contained in:
@@ -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, '-');
|
||||||
|
|||||||
Reference in New Issue
Block a user