We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c51d59 commit 80b724dCopy full SHA for 80b724d
module/documents/effects/triggers/rule-trigger-data-model.mjs
@@ -34,10 +34,7 @@ export class RuleTriggerDataModel extends SubDocumentDataModel {
34
// TODO: Remove once design is done
35
static migrateData(source) {
36
if (source.eventRelation === 'none') {
37
- source.eventRelation = '';
38
- }
39
- if (source.type === 'resourceExpendRuleTrigger') {
40
- source.type = 'calculateExpenseRuleTrigger';
+ delete source.eventRelation;
41
}
42
return super.migrateData(source);
43
0 commit comments