fix history

This commit is contained in:
Yuri Kuznetsov
2023-06-22 09:27:11 +03:00
parent e88bd5898c
commit befec82120
@@ -37,7 +37,8 @@ define('views/event/fields/name-for-history', ['views/fields/varchar'], function
let status = this.model.get('status');
let canceledStatusList = this.getMetadata().get(['scopes', this.model.entityType, 'canceledStatusList']);
let canceledStatusList = this.getMetadata()
.get(['scopes', this.model.entityType, 'canceledStatusList']) || [];
data.strikethrough = canceledStatusList.includes(status);