mirror of
https://github.com/4source/favorites-obsidian-plugin.git
synced 2026-07-22 06:44:46 +00:00
Fix requests (#6)
This commit is contained in:
parent
36abd99cd0
commit
7293d464c2
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ export default class FavoritesPlugin extends Plugin {
|
|||
uninstallThemeBrowserModalUpdateItems?: () => void;
|
||||
uninstallThemeBrowserModalShowItem?: () => void;
|
||||
|
||||
async onload() {
|
||||
onload() {
|
||||
this.pluginsKey = process.env.FAVORITE_PLUGINS_KEY || '';
|
||||
this.themesKey = process.env.FAVORITE_THEMES_KEY || '';
|
||||
console.debug(`Plugins key: ${this.pluginsKey} Themes key: ${this.themesKey}`);
|
||||
|
|
@ -42,7 +42,7 @@ export default class FavoritesPlugin extends Plugin {
|
|||
console.debug('Call PluginBrowserModal.updateItems');
|
||||
|
||||
// Load the favorite plugins
|
||||
plugin.loadFavoritePlugins;
|
||||
plugin.loadFavoritePlugins();
|
||||
|
||||
const result = oldMethod && oldMethod.apply(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue