Robin-Haupt-1 / Obsidian-Map-of-Content

Generate and display a Map of Content for your Obsidian vault that gets updated with any changes, based on the links in your vault
GNU General Public License v3.0
169 stars 5 forks source link

Does not work with Homepage plugin #109

Closed PPN010 closed 10 months ago

PPN010 commented 11 months ago

I enabled the Homepage plugin and this plugin, set up a workspace containing the plugin's leaf view, and specified that this workspace would open automatically when opened. When I reopened the library, the left and right leaves and the editing page in the middle were completely blank. When I closed the homepage or this plugin, the error disappeared

PPN010 commented 11 months ago

Performance and error messages when errors occur

image


caught (in promise) TypeError: Cannot read properties of null (reading 'view') at MOCView.rerender (plugin:map-of-content:2937:63) at MOCView.init (plugin:map-of-content:2927:14) at eval (plugin:map-of-content:2909:60) at t.onLayoutReady (app.js:1:1926622) at new MOCView (plugin:map-of-content:2909:35) at eval (plugin:map-of-content:4540:65) at t. (app.js:1:1782682) at app.js:1:236930 at Object.next (app.js:1:237035) at a (app.js:1:235753)


plugin:map-of-content:2937 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'view') at MOCView.rerender (plugin:map-of-content:2937:63) at MOCPlugin.rerender (plugin:map-of-content:4596:23) at DBManager.update (plugin:map-of-content:173:25)

BoltLi commented 10 months ago

Also conflict with obsidian workspace function. Turn on the obsidian core function 'workspace' and this plugin, obsidian will go wrong with only blank, and unbale to open any file in obsidian. image @Robin-Haupt-1

Robin-Haupt-1 commented 10 months ago

Thank you for creating the issue, i will look into it ASAP

adrianghnguyen commented 10 months ago

I would also like to chime in and say that I am getting the same issue. Disabling the plugin is necessary for me at the moment since it conflicts with workspaces.

Robin-Haupt-1 commented 10 months ago

Sorry for the long wait. It's been incredibly busy at work lately. I'm releasing the fix now.

adrianghnguyen commented 10 months ago

Thank you so much for your work. Appreciate it!

PPN010 commented 10 months ago

Marveling at the efficiency of the repair, it was amazing !

------------------ 原始邮件 ------------------ 发件人: "Robin-Haupt-1/Obsidian-Map-of-Content" @.>; 发送时间: 2023年9月2日(星期六) 凌晨3:33 @.>; @.**@.>; 主题: Re: [Robin-Haupt-1/Obsidian-Map-of-Content] Does not work with Homepage plugin (Issue #109)

Closed #109 as completed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>