ui: Ensure we provide an id for filtering policy-tokens (#11311)

This commit is contained in:
John Cowen 2021-10-26 19:00:32 +01:00 committed by GitHub
parent 3f736467e6
commit 42391301a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

4
.changelog/11311.txt Normal file
View File

@ -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
```

View File

@ -29,11 +29,12 @@ as |route|>
route.params.dc route.params.dc
route.params.partition route.params.partition
route.params.nspace route.params.nspace
(or route.params.id '')
loader.data loader.data
loader.data.isNew loader.data.isNew
as |dc partition nspace item create|}} as |dc partition nspace id item create|}}
<AppView <AppView
@login={{route.model.app.login.open}} @login={{route.model.app.login.open}}
> >
@ -104,7 +105,7 @@ as |dc partition nspace item create|}}
partition=partition partition=partition
nspace=nspace nspace=nspace
dc=dc dc=dc
id=(or id '') id=id
) )
}} }}
as |loader|> as |loader|>