Files
nebula.js/apis/nucleus/src/components/listbox/utils/is-direct-query.js
Johan Lahti ca46370b1b refactor: limit selection actions in direct query (#1246)
* refactor: compensate for checkboxes in item width

* test: search highlight rendering test

* refactor: disable some select actions in dq mode

* fix: rm test

* refactor: add flags fallback to context

* refactor: send flags through options instead of
  context

* refactor: rm flags completely
2023-04-27 12:12:15 +02:00

5 lines
127 B
JavaScript

export default function isDirectQueryEnabled({ appLayout }) {
const isDQ = !!appLayout?.qIsDirectQueryMode;
return isDQ;
}