From c0aef193ea885948f7902fa12a5ed6eb930d995a Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Wed, 15 May 2024 01:41:22 +0200 Subject: [PATCH] random client name #109 --- frontend/src/types/clients.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/types/clients.ts b/frontend/src/types/clients.ts index 1393909..946e681 100644 --- a/frontend/src/types/clients.ts +++ b/frontend/src/types/clients.ts @@ -112,6 +112,7 @@ export function randomConfigs(user: string): Config { } export function createClient(json?: Partial): Client { + defaultClient.name = RandomUtil.randomSeq(8) const defaultObject: Client = { ...defaultClient, ...(json || {}) } return defaultObject }