mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Ignore null values in quickSwitchProfiles. Fix #1248.
This commit is contained in:
parent
e67cf66f01
commit
f056816239
@ -401,6 +401,7 @@ class Options
|
||||
return unless quickSwitchProfiles?
|
||||
seenQuickSwitchProfile = {}
|
||||
validQuickSwitchProfiles = quickSwitchProfiles.filter (name) =>
|
||||
return false if not name
|
||||
key = OmegaPac.Profiles.nameAsKey(name)
|
||||
return false if seenQuickSwitchProfile[key]
|
||||
return false if not OmegaPac.Profiles.byName(name, @_options)
|
||||
|
Loading…
Reference in New Issue
Block a user