fix active plugins (#10964)

isekai-main
Barış Soner Uşaklı 2 years ago committed by GitHub
parent b879b6a0c2
commit 67efaeb4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -201,7 +201,7 @@ exports.webpack = async function (options) {
const util = require('util');
const plugins = require('../plugins/data');
const activePlugins = await plugins.getActive();
const activePlugins = (await plugins.getActive()).map(p => p.id);
if (!activePlugins.includes('nodebb-plugin-composer-default')) {
activePlugins.push('nodebb-plugin-composer-default');
}

Loading…
Cancel
Save