aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/app/app.js')
-rw-r--r--web/static/app/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/static/app/app.js b/web/static/app/app.js
index a76aa33..fa4c4cc 100644
--- a/web/static/app/app.js
+++ b/web/static/app/app.js
@@ -10,6 +10,8 @@
ctrl.device = device.data.device;
+ ctrl.propertyChunks = _.chunk(ctrl.device.properties, 3);
+
ctrl.editDeviceAttribute = function (attributeName) {
var outer = ctrl;
$uibModal.open({