mirror of
https://github.com/jonnydeates/obsidian-pivotal-tracker-integration-plugin.git
synced 2026-07-22 07:40:25 +00:00
Fixed bug where it dumps the second pull into the top level.
This commit is contained in:
parent
b0e0cdbe25
commit
8921a4378e
3 changed files with 6 additions and 11 deletions
4
main.js
4
main.js
|
|
@ -161,8 +161,10 @@ async function generateFilePath(folderPath) {
|
|||
}
|
||||
}
|
||||
new import_obsidian3.Notice("Folders Created For Story Output");
|
||||
}
|
||||
return currentFolderPath;
|
||||
} else {
|
||||
return folderPath;
|
||||
}
|
||||
}
|
||||
|
||||
// main.ts
|
||||
|
|
|
|||
9
main.ts
9
main.ts
|
|
@ -66,15 +66,6 @@ export default class MyPlugin extends Plugin {
|
|||
|
||||
// This adds a settings tab so the user can configure various aspects of the plugin
|
||||
this.addSettingTab(new TrackerIntegrationSettingTab(this.app, this));
|
||||
|
||||
// // If the plugin hooks up any global DOM events (on parts of the app that doesn't belong to this plugin)
|
||||
// // Using this function will automatically remove the event listener when this plugin is disabled.
|
||||
// this.registerDomEvent(document, 'click', (evt: MouseEvent) => {
|
||||
// console.log('click', evt);
|
||||
// });
|
||||
|
||||
// When registering intervals, this function will automatically clear the interval when the plugin is disabled.
|
||||
// this.registerInterval(window.setInterval(() => console.log('setInterval'), 5 * 60 * 1000));
|
||||
}
|
||||
|
||||
async loadSettings() {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ export default async function generateFilePath(folderPath: string): Promise<stri
|
|||
}
|
||||
}
|
||||
new Notice('Folders Created For Story Output')
|
||||
}
|
||||
return currentFolderPath;
|
||||
} else {
|
||||
return folderPath;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue