mirror of https://github.com/jetkvm/kvm.git
removed trailing characters
This commit is contained in:
parent
abd95ab161
commit
c5961acbb5
|
@ -42,7 +42,7 @@ var defaultConfig = &Config{
|
||||||
VirtualMediaEnabled: true,
|
VirtualMediaEnabled: true,
|
||||||
UsbConfig: UsbConfig{
|
UsbConfig: UsbConfig{
|
||||||
VendorId: "0x1d6b", //The Linux Foundation
|
VendorId: "0x1d6b", //The Linux Foundation
|
||||||
ProductId: "0x0104", //Multifunction Composite Gadget¬
|
ProductId: "0x0104", //Multifunction Composite Gadget
|
||||||
SerialNumber: "",
|
SerialNumber: "",
|
||||||
Manufacturer: "JetKVM",
|
Manufacturer: "JetKVM",
|
||||||
Product: "JetKVM USB Emulation Device",
|
Product: "JetKVM USB Emulation Device",
|
||||||
|
|
|
@ -39,7 +39,7 @@ export function Dialog({ setOpen }: { setOpen: (open: boolean) => void }) {
|
||||||
const handleUsbConfigChange = useCallback((usbConfig: object) => {
|
const handleUsbConfigChange = useCallback((usbConfig: object) => {
|
||||||
send("setUsbConfig", { usbConfig }, resp => {
|
send("setUsbConfig", { usbConfig }, resp => {
|
||||||
if ("error" in resp) {
|
if ("error" in resp) {
|
||||||
setError(`Failed to update USB Config: ${resp.error.data || "Unknown error"}`,);
|
setError(`Failed to update USB Config: ${resp.error.data || "Unknown error"}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
setModalView("updateUsbConfigSuccess");
|
setModalView("updateUsbConfigSuccess");
|
||||||
|
|
Loading…
Reference in New Issue