Browse Source

fix: skip if email plugin is not set

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1752/head
Wing-Kam Wong 3 years ago
parent
commit
78ad00e9c7
  1. 2
      packages/nocodb/src/lib/noco/meta/helpers/NcPluginMgrv2.ts

2
packages/nocodb/src/lib/noco/meta/helpers/NcPluginMgrv2.ts

@ -134,6 +134,8 @@ class NcPluginMgrv2 {
active: true
});
if (!pluginData) return null;
const pluginConfig = defaultPlugins.find(
c => c.title === pluginData.title && c.category === PluginCategory.EMAIL
);

Loading…
Cancel
Save