Potentially fix saving new networks (#4599)

This commit is contained in:
Max Leiter 2022-06-28 13:32:08 -07:00 committed by GitHub
parent 80f65c5b72
commit d72d8694bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,7 +292,7 @@ class Client {
// TODO; better typing for args
const network = new Network({
uuid: String(args.uuid),
uuid: args.uuid,
name: String(
args.name || (Config.values.lockNetwork ? Config.values.defaults.name : "") || ""
),