Skip to content

Commit

Permalink
chore: small code change
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Oct 19, 2024
1 parent 247aa56 commit 50922a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ export class AureliaSlickgridCustomElement {
}

protected suggestDateParsingWhenHelpful() {
if (!this.gridOptions.silenceWarnings && this.dataview?.getItemCount() > WARN_NO_PREPARSE_DATE_SIZE && !this.gridOptions.preParseDateColumns && this.grid.getColumns().some(c => isColumnDateType(c.type))) {
if (this.dataview?.getItemCount() > WARN_NO_PREPARSE_DATE_SIZE && !this.gridOptions.silenceWarnings && !this.gridOptions.preParseDateColumns && this.grid.getColumns().some(c => isColumnDateType(c.type))) {
console.warn(
'[Slickgrid-Universal] For getting better perf, we suggest you enable the `preParseDateColumns` grid option, ' +
'for more info visit => https://ghiscoding.gitbook.io/aurelia-slickgrid/column-functionalities/sorting#pre-parse-date-columns-for-better-perf'
Expand Down

0 comments on commit 50922a3

Please sign in to comment.