diff --git a/.changelog/11311.txt b/.changelog/11311.txt new file mode 100644 index 0000000000..32cfae9cf2 --- /dev/null +++ b/.changelog/11311.txt @@ -0,0 +1,4 @@ +```release-note:bug +ui: Ensure we filter tokens by policy when showing which tokens use a certain +policy whilst editing a policy +``` diff --git a/ui/packages/consul-ui/app/templates/dc/acls/policies/edit.hbs b/ui/packages/consul-ui/app/templates/dc/acls/policies/edit.hbs index c320385c5b..baa753d7eb 100644 --- a/ui/packages/consul-ui/app/templates/dc/acls/policies/edit.hbs +++ b/ui/packages/consul-ui/app/templates/dc/acls/policies/edit.hbs @@ -29,11 +29,12 @@ as |route|> route.params.dc route.params.partition route.params.nspace + (or route.params.id '') loader.data loader.data.isNew -as |dc partition nspace item create|}} +as |dc partition nspace id item create|}} @@ -104,7 +105,7 @@ as |dc partition nspace item create|}} partition=partition nspace=nspace dc=dc - id=(or id '') + id=id ) }} as |loader|>