From d7e0fca28b91bae3a29675f22ad4454f1aeaae51 Mon Sep 17 00:00:00 2001 From: Valeriia Ruban Date: Tue, 12 Dec 2023 09:36:50 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20token=20list=20in=20Role=20details=20pag?= =?UTF-8?q?e=20is=20updated=20with=20tokens=20linked=20to=E2=80=A6=20(#199?= =?UTF-8?q?12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changelog/19912.txt | 3 +++ ui/packages/consul-ui/app/templates/dc/acls/roles/-form.hbs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/19912.txt diff --git a/.changelog/19912.txt b/.changelog/19912.txt new file mode 100644 index 000000000000..5ce329dab08a --- /dev/null +++ b/.changelog/19912.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: update token list on Role details page to show only linked tokens +``` \ No newline at end of file diff --git a/ui/packages/consul-ui/app/templates/dc/acls/roles/-form.hbs b/ui/packages/consul-ui/app/templates/dc/acls/roles/-form.hbs index a703f1d571ac..bf205b2d6b23 100644 --- a/ui/packages/consul-ui/app/templates/dc/acls/roles/-form.hbs +++ b/ui/packages/consul-ui/app/templates/dc/acls/roles/-form.hbs @@ -18,7 +18,7 @@ partition=partition nspace=nspace dc=dc - id=(or id '') + id=(if item item.ID '') ) }} as |loader|>