Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table update #29

Merged
merged 3 commits into from
May 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions thirdParty/vuesax.js
Original file line number Diff line number Diff line change
Expand Up @@ -10309,9 +10309,20 @@ var vsTable_component = normalizeComponent(
/* harmony default export */ var vsTable = (vsTable_component.exports);
// CONCATENATED MODULE: C:/Users/Usuario/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45aa2680-vue-loader-template"}!C:/Users/Usuario/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!C:/Users/Usuario/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!C:/Users/Usuario/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib??vue-loader-options!./src/components/vsTable/vsTh.vue?vue&type=template&id=6008fdf0&
//THIS IS ORIGINAL LINE:
var vsThvue_type_template_id_6008fdf0_render = function () { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; return _c('th', { attrs: { "colspan": "1", "rowspan": "1" }, on: { "click": function ($event) { return _vm.sortValue() } } }, [_c('div', { staticClass: "vs-table-text" }, [_vm._t("default"), (_vm.isColumnSelectedForSort && _vm.currentSort != 0) ? _c('span', { staticClass: "sort-th" }, [_c('vs-icon', { staticClass: "th-sort-icon", attrs: { "icon": _vm.currentSort == 1 ? 'expand_less' : 'expand_more' } })], 1) : _vm._e()], 2)]) }
//THIS IS MODIFIED LINE BY OLIVER HAUSDOERFER TO ALWAYS SHOW SORT ICONS
var vsThvue_type_template_id_6008fdf0_render = function () { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; return _c('th', { attrs: { "colspan": "1", "rowspan": "1" }, on: { "click": function ($event) { return _vm.sortValue() } } }, [_c('div', { staticClass: "vs-table-text" }, [_vm._t("default"), (true) ? _c('span', { staticClass: "sort-th" }, [_c('vs-icon', { staticClass: "th-sort-icon", attrs: { "icon": _vm.currentSort == 1 ? 'expand_less' : 'expand_more' } })], 1) : _vm._e()], 2)]) }
// var vsThvue_type_template_id_6008fdf0_render = function () { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; return _c('th', { attrs: { "colspan": "1", "rowspan": "1" }, on: { "click": function ($event) { return _vm.sortValue() } } }, [_c('div', { staticClass: "vs-table-text" }, [_vm._t("default"), (_vm.isColumnSelectedForSort && _vm.currentSort != 0) ? _c('span', { staticClass: "sort-th" }, [_c('vs-icon', { staticClass: "th-sort-icon", attrs: { "icon": _vm.currentSort == 1 ? 'expand_less' : 'expand_more' } })], 1) : _vm._e()], 2)]) }

// THIS IS MODIFIED LINE BY OLIVER HAUSDOERFER TO ALWAYS SHOW SORT ICONS
// var vsThvue_type_template_id_6008fdf0_render = function () { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; return _c('th', { attrs: { "colspan": "1", "rowspan": "1" }, on: { "click": function ($event) { return _vm.sortValue() } } }, [_c('div', { staticClass: "vs-table-text" }, [_vm._t("default"), (true) ? _c('span', { staticClass: "sort-th" }, [_c('vs-icon', { staticClass: "th-sort-icon", attrs: { "icon": _vm.currentSort == 1 ? 'expand_less' : 'expand_more' } })], 1) : _vm._e()], 2)]) }

// THIS IS THE FURTHER MODIFIED LINE BY LENNART GUDERIAN TO SHOW AN UNFOLD_MORE-ICON IN THE UNSORTED AND THE
Copy link
Member

@OliEfr OliEfr May 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Noxdor Haha gewöhne dir bitte nicht alle meine schlechten collaborations habits an 👍 😆
Aber die Lösung wie es jetzt ist finde ich gut :)

// NORMAL SORT ICONS IN THE SORTED STATE
var vsThvue_type_template_id_6008fdf0_render = function () {
var _vm = this; var _h = _vm.$createElement;
var _c = _vm._self._c || _h; return _c('th', {
attrs: { "colspan": "1", "rowspan": "1" },
on: { "click": function ($event) { return _vm.sortValue() } }
}, [_c('div', { staticClass: "vs-table-text" }, [_vm._t("default"), (true) ? _c('span', { staticClass: "sort-th" }, [_c('vs-icon', { staticClass: "th-sort-icon", attrs: { "icon": _vm.currentSort == 1 ? 'expand_less' : _vm.currentSort == 2 ? 'expand_more' : 'unfold_more'} })], 1) : _vm._e()], 2)]) }

var vsThvue_type_template_id_6008fdf0_staticRenderFns = []


Expand Down