From c1ecfc823abb290927a13d3a27340a4b03665593 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Mon, 15 May 2023 12:49:58 +0100 Subject: [PATCH] update star limit to 200 --- views/default.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default.handlebars b/views/default.handlebars index c9e74367..d258cb6f 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -6193,7 +6193,7 @@ if (selectedDevices.length == 0) { selectedDevices.push(nodeid); } for (var i in selectedDevices) { if (stars[selectedDevices[i]] != null) { delete stars[selectedDevices[i]]; delete selectedDevices[i]; } } var starcount = Object.keys(stars).length; - for (var i in selectedDevices) { if ((starcount < 20) && (stars[selectedDevices[i]] == null)) { stars[selectedDevices[i]] = 1; starcount++; } } + for (var i in selectedDevices) { if ((starcount < 200) && (stars[selectedDevices[i]] == null)) { stars[selectedDevices[i]] = 1; starcount++; } } putstore('stars', JSON.stringify(stars)); updateDeviceViewDevice(nodeid); if (Q('DevFilterSelect').value == 3) { mainUpdate(1); }