Skip to content

Organization selection should remain when toggling between Github and Enterprise #6546

Closed

Description

@tierninho

When publishing a repo, the user has an option to select an organization. If you were to select one under the Github tab, and navigate to the Enterprise and back, the organization selection is cleared while the rest of the data remains. We should try to retain the organization selection and not clear it each time.

Repro:

  • Select Repository > New Repository
  • Fill out form, save, then click Publish Repo button

screen shot 2019-01-07 at 3 38 23 pm

1.5.2-beta0, mac

Activity

  1. added
    bug
    help wanted
    priority-3
    on Jan 7, 2019
  2. brendonbribeiro commented on Jan 15, 2019

    @brendonbribeiro
    Contributor

    Can I give it a try (I am new here)?

    const settings = { ...this.state.publishSettings, org: null }

    This line of onTabClicked should be the main issue.

  3. tierninho commented on Jan 15, 2019

    @tierninho
    ContributorAuthor

    @brendonbarreto go for it and feel free to reach out to the team for any help/suggestions. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions