Update PluginRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2020-07-28 12:29:10 +02:00
parent 1f63b38157
commit 6bab7a75fb
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ var PluginRepo = (_ => {
render() {
let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading);
if (!this.props.tab) this.props.tab = "Plugins";
this.props.entries = (!loading.is && !BDFDB.ObjectUtils.isEmpty(loadedPlugins) ? this.filterPlugins() : []).map(this.renderCard).filter(n => n);
this.props.entries = (!loading.is && !BDFDB.ObjectUtils.isEmpty(loadedPlugins) ? this.filterPlugins() : []).map(plugin => this.renderCard(plugin)).filter(n => n);
BDFDB.TimeUtils.timeout(_ => {
if (!loading.is && header && this.props.entries.length != header.props.amount) {