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