From ac31dc3fc3636eddd2d22b3a9374de7f453b766a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Marti=CC=81n=20Pithod?= Date: Thu, 11 Jan 2018 12:56:12 -0300 Subject: [PATCH] Fix --- src/block_manager/view/BlocksView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block_manager/view/BlocksView.js b/src/block_manager/view/BlocksView.js index da1327706..64a9faebd 100644 --- a/src/block_manager/view/BlocksView.js +++ b/src/block_manager/view/BlocksView.js @@ -119,7 +119,7 @@ module.exports = Backbone.View.extend({ id: category, label: category }; - } else if (typeof category == 'object') { + } else if (typeof category === 'object') { category.id = category.label; }