fixup
This commit is contained in:
parent
650757fe19
commit
bd51549d08
@ -38,4 +38,5 @@ export function send_notification(is_ok, context, message) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
notification_subs = updated_subs;
|
||||||
}
|
}
|
||||||
|
@ -5,13 +5,12 @@ import { h, render, Component } from "preact";
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A number, or a string containing a number.
|
|
||||||
* @typedef {{
|
* @typedef {{
|
||||||
* body: string,
|
* body: string,
|
||||||
* headers: [[string, string]],
|
* headers: [[string, string]],
|
||||||
* url: URL,
|
* url: URL,
|
||||||
* id: string,
|
* id: string,
|
||||||
* kv: Map<Source, string>,
|
* kv: Map<[Source, string], string>,
|
||||||
* }} Req
|
* }} Req
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -93,7 +92,6 @@ class TrafficLog extends Component {
|
|||||||
this.connection.onmessage = (msg) => {
|
this.connection.onmessage = (msg) => {
|
||||||
let req = process_msg(msg.data);
|
let req = process_msg(msg.data);
|
||||||
if (req) {
|
if (req) {
|
||||||
console.log(req);
|
|
||||||
this.setState({ requests: [...this.state.requests, req] });
|
this.setState({ requests: [...this.state.requests, req] });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user