[admin] remove pagination if not needed

This commit is contained in:
les 2020-01-15 23:39:37 +01:00
parent 9cef6ef843
commit 056dc421e1

View file

@ -20,10 +20,10 @@
@click='place = data.row') {{$t('common.edit')}} @click='place = data.row') {{$t('common.edit')}}
client-only client-only
el-pagination(:page-size='perPage' :currentPage.sync='placePage' :total='places.length') el-pagination(v-if='places.length>perPage' :page-size='perPage' :currentPage.sync='placePage' :total='places.length')
</template> </template>
<script> <script>
import { mapState, mapActions } from 'vuex' import { mapState } from 'vuex'
export default { export default {
data () { data () {
return { return {