Tweak API to support syntax errors in custom parsing
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -80,6 +80,8 @@ input[type="text"] {
|
||||
if (term !== null) {
|
||||
const query = `type(empty, ${term}, ?tau)`;
|
||||
app.ports.receiveConverted.send({ input: string, query });
|
||||
} else {
|
||||
app.ports.receiveConverted.send({ input: string, query: null });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user