From a610ff747f188eb489b6dff229a7108a4000f6d8 Mon Sep 17 00:00:00 2001 From: Thomas Hirschberger Date: Fri, 8 Nov 2024 07:04:29 +0100 Subject: [PATCH] added support of reuseCount on group basis; changed version to 0.1.4 --- MMM-ValuesByNotification.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MMM-ValuesByNotification.js b/MMM-ValuesByNotification.js index 7fb8df6..1eede1d 100755 --- a/MMM-ValuesByNotification.js +++ b/MMM-ValuesByNotification.js @@ -1285,6 +1285,8 @@ Module.register('MMM-ValuesByNotification', { //either use global reuse value or the one set for this item if (typeof curItem["reuseCount"] !== "undefined") { curReuseCount = curItem["reuseCount"] + } else if (typeof curGroup["reuseCount"] !== "undefined") { + curReuseCount = curGroup["reuseCount"] } diff --git a/package.json b/package.json index be2ccd7..1b367b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "MMM-ValuesByNotification", - "version": "0.1.3", + "version": "0.1.4", "description": "A MagicMirror² to display JSON or plain text values provided by notifications in a very flexible way.", "main": "MMM-ValuesByNotification", "dependencies": {