From cf8841cdfaa000dfa95edba71cc83660aff97cdf Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 22 Apr 2020 10:44:16 +0200 Subject: [PATCH] Remove cba on non-owned pads --- www/code/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/code/inner.js b/www/code/inner.js index 7b654a3b1..3ffb2baef 100644 --- a/www/code/inner.js +++ b/www/code/inner.js @@ -452,6 +452,7 @@ define([ markers.ready(); common.getPadMetadata(null, function (md) { if (md && md.error) { return; } + if (!Array.isArray(md.owners)) { return void markers.setState(false); } if (!common.isOwned(md.owners)) { return; } // We're the owner: add the button and enable the colors if needed mkColorByAuthor(framework, markers);