mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
feat(note_language): allow removing language tag
This commit is contained in:
@@ -76,9 +76,7 @@ export default class NoteLanguageWidget extends NoteContextAwareWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
if (languageId) {
|
||||
attributes.setLabel(this.note.noteId, "language", languageId);
|
||||
}
|
||||
attributes.setAttribute(this.note, "label", "language", languageId);
|
||||
}
|
||||
|
||||
async refreshWithNote(note: FNote) {
|
||||
|
||||
Reference in New Issue
Block a user