Skip to content

Commit

Permalink
Improve filtering logic
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed Jul 26, 2024
1 parent 0f4ea70 commit e14899e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion frontend/src/components/ProcessTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,19 @@
else if (Object.hasOwn(process.rpc_info.server_info, key))
{
propValue = process.server_info[key];
propValue = process.rpc_info.server_info[key];
if (key === 'endpoints')
{
let mod = [];
for (const endpoint of propValue)
{
mod = `${endpoint.protocol}:${endpoint.name}`;
}
propValue = mod;
}
}
else if (process.rpc_info.interface_infos.length > 0)
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ProcessTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</script>

<template>
<input v-model="processFilter" class="W-90 form-control ml-5 mb-2" placeholder="filter: (<str> | name:<str> | user:<str> | pid:<str> | uuid:<str> | endpoint:<str> | location:<str> | ...)"/>
<input v-model="processFilter" class="W-90 form-control ml-5 mb-2" placeholder="filter: (<str> | name:<str> | user:<str> | pid:<str> | id:<str> | endpoints:<str> | location:<str> | ...)"/>

<div id="ProcessPane" class="SmallBorder ml-3 mb-2">
<table class="GenericTable">
Expand Down

0 comments on commit e14899e

Please sign in to comment.