From 345467536f52aaed76b5a9b26f05e23629975152 Mon Sep 17 00:00:00 2001 From: Tyler Wendlandt Date: Tue, 12 Dec 2023 12:07:16 -0700 Subject: [PATCH] =?UTF-8?q?Backport=20of=20fix:=20token=20list=20in=20Role?= =?UTF-8?q?=20details=20page=20is=20updated=20with=20tokens=20linked=20to?= =?UTF-8?q?=E2=80=A6=20into=20release/1.16.x=20(#19922)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: token list in Role details page is updated with tokens linked to… (#19912) Co-authored-by: Valeriia Ruban --- .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 000000000..5ce329dab --- /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 e0f8324e6..0776280fe 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|>