From 4b3d3a43dd15188384f6aa4f96583c60692acb58 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 7 Jan 2018 03:11:18 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- ui (gen4)/imagegrid/images.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/imagegrid/images.js b/ui (gen4)/imagegrid/images.js index a34880fd..f74e3c20 100755 --- a/ui (gen4)/imagegrid/images.js +++ b/ui (gen4)/imagegrid/images.js @@ -353,9 +353,10 @@ var ImagesPrototype = module.ImagesPrototype = { //version: '3.1', - get length(){ - return Object.keys(this).length }, + return Object.keys(this).length + // XXX is this the correct way to deal with service props??? + + (this.hasOwnProperty('version') ? -1 : 0) }, // Generic iterators... //