nodebb-plugin-niki-loyalty 1.3.15 → 1.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-niki-loyalty",
3
- "version": "1.3.15",
3
+ "version": "1.3.16",
4
4
  "description": "Niki The Cat Coffee Loyalty System - Earn points while studying on IEU Forum.",
5
5
  "main": "library.js",
6
6
  "nbbpm": {
@@ -256,7 +256,7 @@ $(document).ready(function () {
256
256
 
257
257
  let dailyScore = parseFloat(data.dailyScore);
258
258
  let scoreText = Number.isInteger(dailyScore) ? dailyScore : dailyScore.toFixed(1);
259
- $('#widget-daily-text').text(scoreText + ' / 35');
259
+ $('#widget-daily-text').text(scoreText + ' / ' + data.dailyCap);
260
260
 
261
261
  // 3. DETAYLI SAYAÇLAR (Counts)
262
262
  const c = data.counts || {}; // Backend'den gelen sayaç objesi