mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 19:53:49 +01:00
Fix NPE error
This commit is contained in:
parent
cd2236eca1
commit
830fbdaebc
@ -57,6 +57,7 @@
|
||||
"nodemon": "^2.0.12",
|
||||
"start-server-and-test": "^1.14.0",
|
||||
"webpack": "^5.44.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
"webpack-cli": "^4.7.2",
|
||||
"webpack-dev-server": "^3.11.2",
|
||||
"webpack-merge": "^5.8.0"
|
||||
|
@ -34,8 +34,10 @@ class IconPanel extends ToolbarPaneItem {
|
||||
for (let i = 0; i < ImageIcon.prototype.ICON_FAMILIES.length; i += 1) {
|
||||
const familyIcons = ImageIcon.prototype.ICON_FAMILIES[i].icons;
|
||||
for (let j = 0; j < familyIcons.length; j += 1) {
|
||||
// Separate icons by line ...
|
||||
let familyContent;
|
||||
|
||||
|
||||
// @TODO: This is a bug, for some reason is working because is a var. This must change to let.
|
||||
var familyContent;
|
||||
if ((count % 12) == 0) {
|
||||
familyContent = $('<div></div>');
|
||||
content.append(familyContent);
|
||||
|
Loading…
Reference in New Issue
Block a user