Skip to content

Commit

Permalink
fix: ignore dataview import for now
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgurney committed Mar 26, 2024
1 parent 329d194 commit 8a34111
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Settings/Adapters/DataviewAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* Currently experimental adapter to try to integrate Dataview.
*/
export default class DataviewAdapter {

dv: any | undefined;
Expand All @@ -10,6 +13,7 @@ export default class DataviewAdapter {
let result = "";

try {
// @ts-ignore
const { getAPI } = await import("obsidian-dataview");
const dv = getAPI();
if (dv) {
Expand Down

0 comments on commit 8a34111

Please sign in to comment.