diff --git a/client/components/tags.vue b/client/components/tags.vue index 3d717b38..56bc6cbb 100644 --- a/client/components/tags.vue +++ b/client/components/tags.vue @@ -98,6 +98,7 @@ :search='innerSearch' :loading='isLoading' :options.sync='pagination' + @page-count='pageTotal = $event' hide-default-footer ref='dude' ) @@ -183,6 +184,7 @@ export default { sortDesc: [false] }, pages: [], + pageTotal: 0, isLoading: true, scrollStyle: { vuescroll: {}, @@ -214,9 +216,6 @@ export default { tagsSelected () { return _.filter(this.tags, t => _.includes(this.selection, t.tag)) }, - pageTotal () { - return Math.ceil(this.pages.length / this.pagination.itemsPerPage) - }, orderByItems () { return [ { text: this.$t('tags:orderByField.creationDate'), value: 'createdAt' }, diff --git a/dev/templates/legacy.pug b/dev/templates/legacy.pug index 14f9d489..69ebe948 100644 --- a/dev/templates/legacy.pug +++ b/dev/templates/legacy.pug @@ -52,7 +52,7 @@ html script( crossorigin='anonymous' - src='https://polyfill.io/v3/polyfill.min.js?features=EventSource' + src='https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=EventSource' ) //- JS diff --git a/server/index.js b/server/index.js index 923680e5..161ebeb7 100644 --- a/server/index.js +++ b/server/index.js @@ -8,14 +8,6 @@ const { nanoid } = require('nanoid') const { DateTime } = require('luxon') const { gte } = require('semver') -// ---------------------------------------- -// Check Node.js version -// ---------------------------------------- -if (gte(process.version, '21.0.0')) { - console.error('You\'re using an unsupported Node.js version. Please read the requirements.') - process.exit(1) -} - // ---------------------------------------- // Init WIKI instance // ---------------------------------------- diff --git a/server/modules/comments/artalk/code.yml b/server/modules/comments/artalk/code.yml index dc61bd79..b2b3688a 100644 --- a/server/modules/comments/artalk/code.yml +++ b/server/modules/comments/artalk/code.yml @@ -6,7 +6,7 @@ head: | body: |