Skip to content

Commit d1dbcef

Browse files
rhodgesCopilot
andauthored
Update visualize/static/js/import_layer_form.js
Copilot caught need to use `String()` and not `str()` Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2fa5908 commit d1dbcef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

visualize/static/js/import_layer_form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ madrona.onShow(function(){
7272
if (parse_options.keys[key_index].hasOwnProperty('key')) {
7373
parse_options.keys[key_index] = parse_options.keys[key_index].key;
7474
} else {
75-
parse_options.keys[key_index] = str(parse_options.keys[key_index]);
75+
parse_options.keys[key_index] = String(parse_options.keys[key_index]);
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)