sgx_jmp.rb 🔗
@@ -1011,7 +1011,9 @@ end
Command.new(
"https://ns.cheogram.com/sgx/jid-switch",
"Change JID",
- list_for: ->(customer: nil, **) { customer },
+ list_for: lambda { |customer: nil, from_jid: nil, **|
+ customer || from_jid.to_s =~ /onboarding.cheogram.com/
+ },
customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new)
) {
Command.customer.then { |customer|