mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 22:27:26 +00:00
fix(plugin-field-sort): fix load logic
This commit is contained in:
parent
fa15b49c0a
commit
2251742b86
@ -26,7 +26,7 @@ export class PluginFieldSortServer extends Plugin {
|
||||
|
||||
this.app.dataSourceManager.beforeAddDataSource((dataSource: DataSource) => {
|
||||
// @ts-ignore
|
||||
if (dataSource.collectionManager.db) {
|
||||
if (dataSource.collectionManager?.db) {
|
||||
dataSource.resourceManager.registerActionHandlers({ move });
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user