This commit is contained in:
@@ -127,16 +127,23 @@ export default {
|
||||
descending: that.localFormSettings.pagination.descending
|
||||
}
|
||||
}
|
||||
//NEW VUETIFY 2.x options object
|
||||
source code is looking for these props
|
||||
this.options.sortBy
|
||||
this.options.sortDesc[sortIndex]
|
||||
this.options.multiSort
|
||||
|
||||
|
||||
*/
|
||||
//set default values for form settings if they are not present yet
|
||||
if (!formSettings.saved || !formSettings.saved.rowsPerPage) {
|
||||
that.localFormSettings = {
|
||||
pagination: {}
|
||||
pagination: {}
|
||||
};
|
||||
} else {
|
||||
that.localFormSettings.pagination = {
|
||||
rowsPerPage: formSettings.saved.rowsPerPage,
|
||||
sortBy: formSettings.saved.sortBy,///////<-----sb array?? something funky or incorrect here leading to the error TypeError: this.options.sortBy.findIndex is not a function sb array???
|
||||
sortBy: [formSettings.saved.sortBy],
|
||||
descending: formSettings.saved.descending
|
||||
};
|
||||
if (formSettings.temp && formSettings.temp.page) {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
/* Xeslint-disable */
|
||||
import WidgetList from "../components/inventorywidgetlist";
|
||||
import WarehouseTop from "../components/inventorywarehousetop";
|
||||
import POTop from "../components/inventorypotop";
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
});
|
||||
},
|
||||
created() {
|
||||
debugger;
|
||||
// debugger;
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "fa-dolly",
|
||||
|
||||
Reference in New Issue
Block a user