This commit is contained in:
2019-10-31 18:31:25 +00:00
parent ff15a9c7c0
commit 0c4f670410
3 changed files with 14 additions and 4 deletions

View File

@@ -58,6 +58,9 @@ move into Options object these things:
Errors are probably due to Options object missing some properties or not as expected, here is the code that is bombing that references this.options. object:
https://github.com/vuetifyjs/vuetify/blob/4a52142fd81f3c50ceb948ce5ba14a3d2ed25e32/packages/vuetify/src/components/VDataTable/VDataTableHeaderDesktop.ts
const sortIndex = this.options.sortBy.findIndex(k => k === header.value);\n const beingSorted
= sortIndex >= 0;\n const isDesc = this.options.sortDesc[sortIndex];\n classes.push('sortable');\n\n
if (beingSorted) {\n classes.push('active');\n classes.push(isDesc ? 'desc' : 'asc');\n