aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/core/server/server.service.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts
index fc269749b..75dbe3e60 100644
--- a/client/src/app/core/server/server.service.ts
+++ b/client/src/app/core/server/server.service.ts
@@ -184,7 +184,9 @@ export class ServerService {
184 } 184 }
185 }) 185 })
186 186
187 if (sort === true) sortBy(hashToPopulate, 'label') 187 if (sort === true) {
188 hashToPopulate.sort((a, b) => a.label.localeCompare(b.label))
189 }
188 190
189 return hashToPopulate 191 return hashToPopulate
190 }), 192 }),