From e173dbc9744e80bdc3fcd50d9530a2144e717bf1 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Thu, 20 Aug 2020 15:49:06 -0600 Subject: [PATCH] fix: don't pluralise anything but the last path element --- packages/dapp-svelte-wallet/ui/src/Petname.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dapp-svelte-wallet/ui/src/Petname.svelte b/packages/dapp-svelte-wallet/ui/src/Petname.svelte index 2624002747a..485e0260f0c 100644 --- a/packages/dapp-svelte-wallet/ui/src/Petname.svelte +++ b/packages/dapp-svelte-wallet/ui/src/Petname.svelte @@ -18,7 +18,7 @@ {#if Array.isArray(name)} {name[0]} - {#each name.slice(1) as path}.{path}{#if plural}s{/if}{/each} + {#each name.slice(1) as path}.{path}{/each}{#if plural}s{/if} {:else}