Update PluginRepo.plugin.js
This commit is contained in:
parent
26cdd3107e
commit
2d6cb2a582
|
@ -563,7 +563,7 @@ var PluginRepo = (_ => {
|
||||||
label: "Plugin Repo",
|
label: "Plugin Repo",
|
||||||
id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"),
|
id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"),
|
||||||
action: _ => {
|
action: _ => {
|
||||||
if (!loading.is) BDFDB.ContextMenuUtils.close(e.instance);
|
BDFDB.ContextMenuUtils.close(e.instance);
|
||||||
BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo");
|
BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo");
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
@ -583,7 +583,7 @@ var PluginRepo = (_ => {
|
||||||
element: _ => {
|
element: _ => {
|
||||||
let options = Object.assign({}, modalSettings);
|
let options = Object.assign({}, modalSettings);
|
||||||
options.updated = options.updated && !showOnlyOutdated;
|
options.updated = options.updated && !showOnlyOutdated;
|
||||||
options.outdated = options.updated || showOnlyOutdated;
|
options.outdated = options.outdated || showOnlyOutdated;
|
||||||
options.downloadable = options.downloadable && !showOnlyOutdated;
|
options.downloadable = options.downloadable && !showOnlyOutdated;
|
||||||
options.searchString = "";
|
options.searchString = "";
|
||||||
options.sortKey = forcedSort || Object.keys(sortKeys)[0];
|
options.sortKey = forcedSort || Object.keys(sortKeys)[0];
|
||||||
|
|
Loading…
Reference in New Issue