,
            });
            send_request("POST", "set-admin-json-config", body, "applySettingsSpinner", notifications)
        }

        // function to get the customized view config
        function get_admin_json_config() {
            const xhr = new XMLHttpRequest();
            xhr.open("GET", "/get-admin-json-config");
            xhr.setRequestHeader("Content-Type", "application/json; charset=UTF-8");
            xhr.onload = () => {
                if (xhr.readyState == 4 && xhr.status == 200) {
