fix: resolve requested change
This commit is contained in:
parent
50cc33a604
commit
e6f192c7fc
2 changed files with 3 additions and 2 deletions
|
|
@ -19,6 +19,7 @@ export default class FileHider extends Plugin {
|
|||
style: CSSStyleSheet|null = null;
|
||||
|
||||
async onload() {
|
||||
|
||||
await this.loadSettings();
|
||||
this.registerEvent(
|
||||
this.app.workspace.on(`file-menu`, (menu, file) => {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
export async function changePathVisibility(path: string, hide: boolean) {
|
||||
export function changePathVisibility(path: string, hide: boolean) {
|
||||
let n = document.querySelector(`[data-path="${path}"]`);
|
||||
if (!n) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue