Fixed #6002 - DataTable: highlightOnSelect single selection defect

pull/6011/head
tugcekucukoglu 2024-07-02 13:28:03 +03:00
parent 0b37123bbb
commit 8d501b9aa8
1 changed files with 2 additions and 2 deletions

View File

@ -93,9 +93,9 @@
</template>
<script>
import { equals, isNotEmpty, resolveFieldData } from '@primeuix/utils/object';
import BaseComponent from '@primevue/core/basecomponent';
import { getVNodeProp } from '@primevue/core/utils';
import { resolveFieldData, equals, isNotEmpty } from '@primeuix/utils/object';
import ChevronDownIcon from '@primevue/icons/chevrondown';
import ChevronRightIcon from '@primevue/icons/chevronright';
import { mergeProps } from 'vue';
@ -495,7 +495,7 @@ export default {
for (let col of this.columns) {
let _selectionMode = this.columnProp(col, 'selectionMode');
if (isNotEmpty(_selectionMode) && _selectionMode === 'multiple') {
if (isNotEmpty(_selectionMode)) {
columnSelectionMode = _selectionMode;
break;
}