check set held

This commit is contained in:
Yuri Kuznetsov
2024-06-19 21:46:36 +03:00
parent 64736349f0
commit 9e8df41174
@@ -46,6 +46,15 @@ class MeetingDetailRecordView extends DetailRecordView {
return;
}
const historyStatusList = this.getMetadata().get(`scopes.${this.entityType}.historyStatusList`) || [];
if (
!historyStatusList.includes('Held') ||
!historyStatusList.includes('Not Held')
) {
return;
}
this.dropdownItemList.push({
'label': 'Set Held',
'name': 'setHeld',