Skip to content

Commit

Permalink
ui: Fix dropdown option duplications (#10706)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxcode authored Jul 27, 2021
1 parent 9c3af1a commit eb5512f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/10706.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix dropdown option duplication in the new intentions form
```
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
@buildSuggestion={{action "createNewLabel" "Use a Consul Namespace called '{{term}}'"}}
@showCreateWhen={{action "isUnique" nspaces}}
@onCreate={{action onchange "SourceNS"}}
@onChange={{action onchange "SourceNS"}} as |nspace|>
@onChange={{fn (mut this.SourceNS)}} as |nspace|>
{{#if (eq nspace.Name '*') }}
* (All Namespaces)
{{else}}
Expand Down Expand Up @@ -88,7 +88,7 @@
@buildSuggestion={{action "createNewLabel" "Use a future Consul Namespace called '{{term}}'"}}
@showCreateWhen={{action "isUnique" nspaces}}
@onCreate={{action onchange "DestinationNS"}}
@onChange={{action onchange "DestinationNS"}} as |nspace|>
@onChange={{fn (mut this.DestinationNS)}} as |nspace|>
{{#if (eq nspace.Name '*') }}
* (All Namespaces)
{{else}}
Expand Down

0 comments on commit eb5512f

Please sign in to comment.