diff --git a/SharpbinV3.Client/src/lib/consts.ts b/SharpbinV3.Client/src/lib/consts.ts
index 1f1c6e1..c15e983 100644
--- a/SharpbinV3.Client/src/lib/consts.ts
+++ b/SharpbinV3.Client/src/lib/consts.ts
@@ -242,4 +242,4 @@ export const trustedDomains = [
'cloudflare-ipfs.com',
'upload.wikimedia.org'
-];
\ No newline at end of file
+];
diff --git a/SharpbinV3.Client/src/routes/user/[username]/+page.svelte b/SharpbinV3.Client/src/routes/user/[username]/+page.svelte
index 897e112..6cbf0b0 100644
--- a/SharpbinV3.Client/src/routes/user/[username]/+page.svelte
+++ b/SharpbinV3.Client/src/routes/user/[username]/+page.svelte
@@ -707,15 +707,16 @@
User Roles
- {(() => {
- let count = 0;
- if (data.user?.roles) {
- if (hasRole(data.user.roles, roles.User)) count++;
- if (hasRole(data.user.roles, roles.Moderator)) count++;
- if (hasRole(data.user.roles, roles.Admin)) count++;
- }
- return count;
- })()} roles assigned{(() => {
+ let count = 0;
+ if (data.user?.roles) {
+ if (hasRole(data.user.roles, roles.User)) count++;
+ if (hasRole(data.user.roles, roles.Moderator)) count++;
+ if (hasRole(data.user.roles, roles.Admin)) count++;
+ }
+ return count;
+ })()} roles assigned