Skip to content

Commit

Permalink
Merge pull request #23 from Tom-Hirschberger/development
Browse files Browse the repository at this point in the history
added support of reuseCount on group basis;
  • Loading branch information
Tom-Hirschberger authored Nov 8, 2024
2 parents 75c4d52 + a610ff7 commit 0663123
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MMM-ValuesByNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 0663123

Please sign in to comment.