Skip to content

Commit 5515d60

Browse files
author
minjk-bl
committed
Fix Import app
1 parent 166bc26 commit 5515d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualpython/js/m_apps/Import.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ define([
175175
let that = this;
176176
libraries && libraries.forEach((lib, idx) => {
177177
if (lib.type == 'function') {
178-
page.appendLine(that.templateForFunction(idx, lib.i0, lib.i1, lib.checked === 'checked'));
178+
page.appendLine(that.templateForFunction(idx, lib.i0, lib.i1, (lib.checked === 'checked' || lib.checked === true)));
179179
} else {
180-
page.appendLine(that.templateForModule(idx, lib.i0, lib.i1, lib.checked === 'checked'));
180+
page.appendLine(that.templateForModule(idx, lib.i0, lib.i1, (lib.checked === 'checked' || lib.checked === true)));
181181
}
182182
});
183183
page.appendLine('</tbody>');

0 commit comments

Comments
 (0)