mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: only sub-apps that start with the main app are upgraded with it (#6133)
This commit is contained in:
parent
61488d95af
commit
5ac9f432bc
@ -30,6 +30,10 @@ const defaultSubAppUpgradeHandle: SubAppUpgradeHandler = async (mainApp: Applica
|
||||
findOptions['filter'] = {
|
||||
name: appSupervisor.singleAppName,
|
||||
};
|
||||
} else {
|
||||
findOptions['filter'] = {
|
||||
'options.autoStart': true,
|
||||
};
|
||||
}
|
||||
|
||||
const instances = await repository.find(findOptions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user