Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

fix: network modal button disabling #885

Merged
merged 2 commits into from Dec 30, 2018
Merged

Conversation

ItsANameToo
Copy link
Member

Proposed changes

The remove button should be available even if a field is invalid, since you want to remove it anyway. The save button had an issue as a name was seen as "duplicate" in the form as there was an existing network with that name when you tried to edit it. This PR adds an extra check to ensure that the same name is allowed if we're currently editing that network.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes

…e where saving did not work as name was regarded as duplicate
@faustbrian faustbrian merged commit 58de699 into develop Dec 30, 2018
@faustbrian faustbrian deleted the fix/network-modal-validation branch December 30, 2018 06:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants