Skip to content

Org selection options#2851

Merged
raycarrick-ed merged 16 commits intomasterfrom
org_selection_options
Mar 31, 2021
Merged

Org selection options#2851
raycarrick-ed merged 16 commits intomasterfrom
org_selection_options

Conversation

@raycarrick-ed
Copy link
Contributor

Introduce switch in config (in _dmproadmap.rb) which uses the local_only partial for org selection and doesn't allow on the fly account creation.

@raycarrick-ed raycarrick-ed requested a review from briri March 30, 2021 13:22
Copy link
Contributor

@briri briri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good @raycarrick. Just some minor Rubocop cleanup. Feel free to merge once its happy.

@crosswalk.map { |rec| rec[:name] }.to_json
begin
@crosswalk.map { |rec| rec[:name] }.to_json
rescue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for the begin here and RuboCop prefers specifying an error type. Use:

def select_list
  @crosswalk.map { |rec| rec[:name] }.to_json
rescue StandardError => e
  nil
end

@raycarrick-ed raycarrick-ed merged commit bc98a97 into master Mar 31, 2021
@briri briri deleted the org_selection_options branch September 8, 2021 21:32
portagenetwork pushed a commit to portagenetwork/roadmap that referenced this pull request Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants