mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 16:51:31 -04:00
search result highlighted strings, do not add op to recipe on escape
This commit is contained in:
parent
85fff21068
commit
f176a1106a
14 changed files with 108 additions and 125 deletions
|
@ -265,7 +265,7 @@ class App {
|
|||
if (this.ioSplitter) this.ioSplitter.destroy();
|
||||
|
||||
this.columnSplitter = Split(["#operations", "#recipe", "#IO"], {
|
||||
sizes: [20, 30, 50],
|
||||
sizes: [20, 40, 40],
|
||||
minSize: minimise ? [0, 0, 0] : [360, 330, 310],
|
||||
gutterSize: 4,
|
||||
expandToMin: true,
|
||||
|
@ -510,7 +510,7 @@ class App {
|
|||
// Search for nearest match and add it
|
||||
const matchedOps = this.manager.ops.filterOperations(this.uriParams.op, false);
|
||||
if (matchedOps.length) {
|
||||
this.manager.recipe.addOperation(matchedOps[0].name);
|
||||
this.manager.recipe.addOperation(matchedOps[0][0]);
|
||||
}
|
||||
|
||||
// Populate search with the string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue