Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function settingsView(configin) {
console.log(configin)
$('#micboard').hide();
$('.settings').show();
let editor_div = document.getElementById('editor_holder')
editor_div.innerHTML = ''
var editor = new JSONEditor(editor_div,{
// Enable fetching schemas via ajax
ajax: false,
theme: 'bootstrap4',
// The schema for the editor
schema: {
"title": " ",
"type" : "object",
// "format": "categories",
"options" : {
"disable_properties": true,
"disable_edit_json" : true,
"disable_collapse": true
},
"properties" : {
"port" : {