andytaylor commented on code in PR #168:
URL: https://github.com/apache/artemis-console/pull/168#discussion_r2759401662
##########
artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/queues/QueuesTable.tsx:
##########
@@ -247,7 +247,11 @@ export const QueuesTable:
React.FunctionComponent<QueueNavigate> = navigate => {
const rowName = row.name;
const rowAddress = row.address;
const rowRoutingType = row.routingType;
- const rowPerms = permissions[rowName];
+ var rowPerms = permissions[rowName];
+ if(rowPerms == undefined) {
Review Comment:
if it fails it means it looked up in the array with the wrong name. this is
the rare case so better than checking and adjusting every time
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]