Skip to content

Commit

Permalink
Fix #96 Removed .split from front end code and added it to backend
Browse files Browse the repository at this point in the history
Removed .split ('-')[0] from front end code and already added this logic in backend
  • Loading branch information
Tushar-kalsi committed Oct 25, 2023
1 parent 789f204 commit c4a961f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/Message.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</script>

<p on:click={click} on:keypress={click} bind:this={element}>
{message.sensorID.split('-')[0]} | {message.srcHost}:{message.srcPort} -> {message.dstPort}:
{message.sensorID} | {message.srcHost}:{message.srcPort} -> {message.dstPort}:
{#if message.handler}{message.handler}{:else}{message.rule}{/if}
{#if message.scanner}"{message.scanner}"{/if}
<u>Details</u>
Expand Down

0 comments on commit c4a961f

Please sign in to comment.