diff --git a/src/components/InterventionsList.vue b/src/components/InterventionsList.vue index ffda01d..7ecbafe 100644 --- a/src/components/InterventionsList.vue +++ b/src/components/InterventionsList.vue @@ -24,6 +24,7 @@ Licensed under the Elastic License 2.0. */ MoreTableRowActionResult, MoreTableChoice, MoreTableSortOptions, + RowSelectionMode, } from '../models/MoreTableModel'; import ConfirmDialog from 'primevue/confirmdialog'; import DynamicDialog from 'primevue/dynamicdialog'; @@ -462,6 +463,7 @@ Licensed under the Elastic License 2.0. */ :sort-options="sortOptions" :loading="loader.isLoading.value" :editable-access="actionsVisible" + :enable-row-selection="RowSelectionMode.Single" :editable-user-roles="[StudyRole.Admin, StudyRole.Operator]" :empty-message="$t('intervention.interventionList.emptyListMsg')" class="table-title-width table-btn-min-height" diff --git a/src/components/ObservationList.vue b/src/components/ObservationList.vue index e92b9f0..d7a558e 100644 --- a/src/components/ObservationList.vue +++ b/src/components/ObservationList.vue @@ -23,6 +23,7 @@ Licensed under the Elastic License 2.0. */ MoreTableFieldType, MoreTableRowActionResult, MoreTableSortOptions, + RowSelectionMode, } from '../models/MoreTableModel'; import ConfirmDialog from 'primevue/confirmdialog'; import DynamicDialog from 'primevue/dynamicdialog'; @@ -471,6 +472,7 @@ Licensed under the Elastic License 2.0. */ :editable-user-roles="[StudyRole.Admin, StudyRole.Operator]" :empty-message="$t('observation.observationList.emptyListMsg')" :component-factory="factories" + :enable-row-selection="RowSelectionMode.Single" class="table-title-width" @on-select="openEditObservation($event)" @on-action="executeAction($event)" diff --git a/src/components/StudyList.vue b/src/components/StudyList.vue index a117c65..cbc731e 100644 --- a/src/components/StudyList.vue +++ b/src/components/StudyList.vue @@ -11,6 +11,7 @@ Licensed under the Elastic License 2.0. */ MoreTableFieldType, MoreTableRowActionResult, MoreTableSortOptions, + RowSelectionMode, } from '../models/MoreTableModel'; import { Study, StudyRole, StudyStatus } from '../generated-sources/openapi'; import MoreTable from './shared/MoreTable.vue'; @@ -299,6 +300,7 @@ Licensed under the Elastic License 2.0. */ :end-row-actions="endRowActions" :front-row-actions="frontRowActions" :sort-options="sortOptions" + :enable-row-selection="RowSelectionMode.Single" :editable=" (data: Study) => { return ( diff --git a/src/components/forms/InterventionTriggerConditionTable.vue b/src/components/forms/InterventionTriggerConditionTable.vue index 00c8004..5fa3443 100644 --- a/src/components/forms/InterventionTriggerConditionTable.vue +++ b/src/components/forms/InterventionTriggerConditionTable.vue @@ -310,7 +310,6 @@ Licensed under the Elastic License 2.0. */