fix(plugin-workflow): fix schedule workflow under normal multi-apps (#2896)

This commit is contained in:
Junyi 2023-10-23 18:25:53 +08:00 committed by GitHub
parent d751b30b34
commit 41f913b12f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -424,7 +424,7 @@ export default class ScheduleTrigger extends Trigger {
} }
init() { init() {
if (this.plugin.app.name !== 'main') { if (this.plugin.app.getPlugin('multi-app-share-collection').enabled && this.plugin.app.name !== 'main') {
return; return;
} }