mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
many small fixes from Intellij analysis
This commit is contained in:
@@ -24,8 +24,6 @@ export default class WatchedFileUpdateStatusWidget extends NoteContextAwareWidge
|
||||
isEnabled() {
|
||||
const { entityType, entityId } = this.getEntity();
|
||||
|
||||
console.log(entityType, entityId);
|
||||
|
||||
return super.isEnabled() && !!fileWatcher.getFileModificationStatus(entityType, entityId);
|
||||
}
|
||||
|
||||
@@ -56,7 +54,7 @@ export default class WatchedFileUpdateStatusWidget extends NoteContextAwareWidge
|
||||
});
|
||||
}
|
||||
|
||||
refreshWithNote(note) {
|
||||
async refreshWithNote(note) {
|
||||
const { entityType, entityId } = this.getEntity();
|
||||
const status = fileWatcher.getFileModificationStatus(entityType, entityId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user