Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 9c38b50

Browse files
committed
dataview await until is indexed to load Obsidian
1 parent 22fc157 commit 9c38b50

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/components/modals/columnSettings/handlers/selects/OptionSourceDropdownHandler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export class OptionSourceDropdownHandler extends AbstractHandlerClass<ColumnSett
2323
});
2424

2525
const optionSourcePromise = async (optionSource: string): Promise<void> => {
26-
console.log("optionSourcePromise", optionSource);
2726
if (optionSource === column.config.option_source) {
2827
new Notice("No changes made", 1500);
2928
return;

src/main.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,6 @@ export default class DBFolderPlugin extends Plugin {
407407
*/
408408
this.registerEvent(
409409
app.metadataCache.on("dataview:index-ready", async () => {
410-
for (const [, { viewMap }] of Array.from(this.windowRegistry.entries())) {
411-
// Refresh all database views
412-
for (const view of viewMap.values()) {
413-
await view.reloadDatabase();
414-
}
415-
}
416410
/**
417411
* Once the index is ready, we can start listening for metadata changes.
418412
*/

0 commit comments

Comments
 (0)