Skip to content

Commit

Permalink
apply fix for #252
Browse files Browse the repository at this point in the history
  • Loading branch information
ratiw committed Sep 21, 2017
2 parents 69a14b0 + 4d6575a commit 211643c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/stats.json

Large diffs are not rendered by default.

22 changes: 14 additions & 8 deletions dist/vuetable-2-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationMixin.vue"
Component.options.__file = "C:\\projects\\vuetable-2\\src\\components\\VuetablePaginationMixin.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}

/* hot reload */
Expand Down Expand Up @@ -642,7 +642,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationInfoMixin.vue"
Component.options.__file = "C:\\projects\\vuetable-2\\src\\components\\VuetablePaginationInfoMixin.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}

/* hot reload */
Expand Down Expand Up @@ -1379,7 +1379,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\Vuetable.vue"
Component.options.__file = "C:\\projects\\vuetable-2\\src\\components\\Vuetable.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] Vuetable.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -1419,7 +1419,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePagination.vue"
Component.options.__file = "C:\\projects\\vuetable-2\\src\\components\\VuetablePagination.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] VuetablePagination.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -1459,7 +1459,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationDropdown.vue"
Component.options.__file = "C:\\projects\\vuetable-2\\src\\components\\VuetablePaginationDropdown.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] VuetablePaginationDropdown.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -1499,7 +1499,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationInfo.vue"
Component.options.__file = "C:\\projects\\vuetable-2\\src\\components\\VuetablePaginationInfo.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] VuetablePaginationInfo.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -4078,7 +4078,13 @@ if (false) {
/***/ (function(module, exports, __webpack_require__) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return (_vm.tablePagination && _vm.tablePagination.last_page > 1) ? _c('div', {
return _c('div', {
directives: [{
name: "show",
rawName: "v-show",
value: (_vm.tablePagination && _vm.tablePagination.last_page > 1),
expression: "tablePagination && tablePagination.last_page > 1"
}],
class: _vm.css.wrapperClass
}, [_c('a', {
class: ['btn-nav', _vm.css.linkClass, _vm.isOnFirstPage ? _vm.css.disabledClass : ''],
Expand Down Expand Up @@ -4140,7 +4146,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
}
}, [(_vm.css.icons.last != '') ? _c('i', {
class: [_vm.css.icons.last]
}) : _c('span', [_vm._v("»")])])], 2) : _vm._e()
}) : _c('span', [_vm._v("»")])])], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
if (false) {
Expand Down
2 changes: 1 addition & 1 deletion dist/vuetable-2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/VuetablePagination.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-if="tablePagination && tablePagination.last_page > 1" :class="css.wrapperClass">
<div v-show="tablePagination && tablePagination.last_page > 1" :class="css.wrapperClass">
<a @click="loadPage(1)"
:class="['btn-nav', css.linkClass, isOnFirstPage ? css.disabledClass : '']">
<i v-if="css.icons.first != ''" :class="[css.icons.first]"></i>
Expand Down

0 comments on commit 211643c

Please sign in to comment.