Skip to content

Commit

Permalink
Reformat FieldWidget.js
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Nov 3, 2022
1 parent 3934abf commit 8fe44bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/js/bundles/dn_querybuilder/config/FieldWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default declare([_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, _
apprt_when(this.store.getMetadata(), (metadata) => {
const metadataSupportsDistinct = metadata.advancedQueryCapabilities?.supportsDistinct;
const layerSupportsDistinct = this.store.layer?.capabilities?.query?.supportsDistinct;
this._supportsDistincts = metadataSupportsDistinct||layerSupportsDistinct;
this._supportsDistincts = metadataSupportsDistinct || layerSupportsDistinct;
this._enableDistinctValues = this.queryBuilderProperties._properties.enableDistinctValues;
if (this.type === "user") {
this.notSelectDisabled = false;
Expand Down

0 comments on commit 8fe44bb

Please sign in to comment.