mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
many small fixes from Intellij analysis
This commit is contained in:
@@ -321,9 +321,7 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget {
|
||||
|
||||
parseAttributes() {
|
||||
try {
|
||||
const attrs = attributesParser.lexAndParse(this.getPreprocessedData());
|
||||
|
||||
return attrs;
|
||||
return attributesParser.lexAndParse(this.getPreprocessedData());
|
||||
}
|
||||
catch (e) {
|
||||
this.$errors.text(e.message).slideDown();
|
||||
|
||||
Reference in New Issue
Block a user