From 4d4bdeaac264973ab264d8b4022ca1afb3b88f5b Mon Sep 17 00:00:00 2001 From: Andrea Scartabelli Date: Fri, 17 Jan 2025 08:28:17 +0100 Subject: [PATCH] explorer: Fix wrong owner key shown in provisioners table Resolves #3377 --- explorer/CHANGELOG.md | 7 +++++-- .../provisioners-table/ProvisionersTable.svelte | 10 ++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/explorer/CHANGELOG.md b/explorer/CHANGELOG.md index 34476fc6a2..ca7bc103e8 100644 --- a/explorer/CHANGELOG.md +++ b/explorer/CHANGELOG.md @@ -17,11 +17,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fix wrong owner key shown in provisioners table [#3377] + ## [1.0.1] - 2025-01-07 ### Fixed -- Fix Owner key (Provisioners page) [#3315] +- Fix Owner key (Provisioners page) [#3305] ## [1.0.0] - 2024-12-22 @@ -138,8 +140,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#3215]: https://github.com/dusk-network/rusk/issues/3215 [#3218]: https://github.com/dusk-network/rusk/issues/3218 [#3249]: https://github.com/dusk-network/rusk/issues/3249 -[#3315]: https://github.com/dusk-network/rusk/pull/3315 +[#3305]: https://github.com/dusk-network/rusk/issues/3305 [#3338]: https://github.com/dusk-network/rusk/issues/3338 +[#3377]: https://github.com/dusk-network/rusk/issues/3377 diff --git a/explorer/src/lib/components/provisioners-table/ProvisionersTable.svelte b/explorer/src/lib/components/provisioners-table/ProvisionersTable.svelte index 6c5a21cb10..bbf1709a19 100644 --- a/explorer/src/lib/components/provisioners-table/ProvisionersTable.svelte +++ b/explorer/src/lib/components/provisioners-table/ProvisionersTable.svelte @@ -43,17 +43,15 @@ {#each data as provisioner (provisioner)} {@const [ownerType, ownerValue] = ownPairs(provisioner.owner)[0]} - {@const provisionerKey = middleEllipsis( - provisioner.key, - HASH_CHARS_LENGTH - )} - {provisionerKey} + {middleEllipsis(provisioner.key, HASH_CHARS_LENGTH)}