From 6180fa98fde6a8984409d20e456ee391cf149edd Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 9 May 2023 13:41:33 +0800 Subject: [PATCH] fix: skip if not RecordPicker --- .../src/migrations/20230509111114-alert-ui-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/collection-manager/src/migrations/20230509111114-alert-ui-schema.ts b/packages/plugins/collection-manager/src/migrations/20230509111114-alert-ui-schema.ts index e8e0696957..2ca3abd17a 100644 --- a/packages/plugins/collection-manager/src/migrations/20230509111114-alert-ui-schema.ts +++ b/packages/plugins/collection-manager/src/migrations/20230509111114-alert-ui-schema.ts @@ -42,7 +42,7 @@ export default class extends Migration { const uiSchema = fieldRecord.get('uiSchema'); - if (!uiSchema?.['x-component']) { + if (uiSchema?.['x-component'] !== 'RecordPicker') { continue; }