Skip to content

Commit

Permalink
fix(core/managed): add stack + detail filtering on resource links (#8141
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Erik Munson committed Apr 8, 2020
1 parent 509c036 commit 9b05a07
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ const getResourceRoutingInfo = (
): { state: string; params: { [key: string]: string } } | null => {
const {
kind,
moniker: { stack, detail },
locations: { account },
} = resource;
const kindName = getKindName(kind);
const params = {
acct: account,
stack: stack ?? '(none)',
detail: detail ?? '(none)',
q: getResourceName(resource),
};

Expand Down

0 comments on commit 9b05a07

Please sign in to comment.