From ad1bb34453b373b72ef659955ce6ce9c18daf34f Mon Sep 17 00:00:00 2001 From: Dharini Jeeva Date: Thu, 19 Sep 2024 14:22:25 -0700 Subject: [PATCH] fix: show username first and then password when credentials are listed (#2494) --- .../components/credentials-panel/index.hbs | 3 +- .../app/components/credentials-panel/index.js | 2 + ui/desktop/app/helpers/order-by.js | 29 +++++++ .../integration/helpers/order-by-test.js | 86 +++++++++++++++++++ 4 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 ui/desktop/app/helpers/order-by.js create mode 100644 ui/desktop/tests/integration/helpers/order-by-test.js diff --git a/ui/desktop/app/components/credentials-panel/index.hbs b/ui/desktop/app/components/credentials-panel/index.hbs index 23d0507bb..f2e9f40f7 100644 --- a/ui/desktop/app/components/credentials-panel/index.hbs +++ b/ui/desktop/app/components/credentials-panel/index.hbs @@ -33,6 +33,7 @@ as |CB| > + {{#if credential.source.name}} {{credential.source.name}} {{else}} @@ -61,7 +62,7 @@