[nodebb-plugin-recent-cards] NodeBB v1.14.0
-
@baris there is a bug in the console when upgrading
SyntaxError: await is only valid in async functions and the top level bodies of modules at compileFunction (<anonymous>) at Object.compileFunction (node:vm:355:18) at wrapSafe (node:internal/modules/cjs/loader:1039:15) at Module._compile (node:internal/modules/cjs/loader:1073:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10) at Module.load (node:internal/modules/cjs/loader:989:32) at Function.Module._load (node:internal/modules/cjs/loader:829:14) at Module.require (node:internal/modules/cjs/loader:1013:19) at require (node:internal/modules/cjs/helpers:93:18) at Object.Plugins.requireLibrary (/home/phenomlab/nodebb/src/plugins/index.js:81:39)
-
@phenomlab yeah this commit broke it https://github.com/NodeBB-Community/nodebb-plugin-recent-cards/commit/ff3722e475a716116b827085aeaccad2a0c303c1 because of a missing async on renderExternal @baris
-
@baris said in [nodebb-plugin-recent-cards] NodeBB v1.14.0:
Thanks for reporting, this is fixed in 2.0.19.
Pleasure. Works perfectly now.
Thanks
-
This is the reason...
NOW
Image Credit: @phenomlab
Absolutely brilliant @baris, the difference is clear
PREVIOUSLY
-
Hı. In recent cards, the recent topics are shown well but the posts inside the topics are not recent but first. There is also no option to set this in the settings menu. Thanks for helping.
-
@kafakoparan This relies on the settings you apply under
/admin/settings/post
-
@phenomlab Thanks for quick reply. I will try to fix it