chore(xo-web): move empty server label handling to xo-server

Related to c71104db4
This commit is contained in:
Julien Fontanet 2023-03-03 16:40:30 +01:00
parent c71104db4f
commit 00a135b00f
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ export default class {
enabled: true,
host,
httpProxy,
label: label || undefined,
label,
password,
readOnly,
username,

View File

@ -613,7 +613,7 @@ export const addServer = (host, username, password, label, allowUnauthorized, ht
allowUnauthorized,
host,
httpProxy: httpProxy || undefined,
label,
label: label || undefined,
password,
username,
})::tap(subscribeServers.forceRefresh, () => error(_('serverError'), _('serverAddFailed')))