Update PluginRepo.plugin.js
This commit is contained in:
parent
1f63b38157
commit
6bab7a75fb
|
@ -179,7 +179,7 @@ var PluginRepo = (_ => {
|
||||||
render() {
|
render() {
|
||||||
let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading);
|
let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading);
|
||||||
if (!this.props.tab) this.props.tab = "Plugins";
|
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(_ => {
|
BDFDB.TimeUtils.timeout(_ => {
|
||||||
if (!loading.is && header && this.props.entries.length != header.props.amount) {
|
if (!loading.is && header && this.props.entries.length != header.props.amount) {
|
||||||
|
|
Loading…
Reference in New Issue