mirror of
https://github.com/status-im/consul.git
synced 2025-02-17 16:16:44 +00:00
ui: Fix dropdown option duplications (#10706)
This commit is contained in:
parent
9c3af1a429
commit
eb5512fb74
3
.changelog/10706.txt
Normal file
3
.changelog/10706.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
ui: Fix dropdown option duplication in the new intentions form
|
||||||
|
```
|
@ -39,7 +39,7 @@
|
|||||||
@buildSuggestion={{action "createNewLabel" "Use a Consul Namespace called '{{term}}'"}}
|
@buildSuggestion={{action "createNewLabel" "Use a Consul Namespace called '{{term}}'"}}
|
||||||
@showCreateWhen={{action "isUnique" nspaces}}
|
@showCreateWhen={{action "isUnique" nspaces}}
|
||||||
@onCreate={{action onchange "SourceNS"}}
|
@onCreate={{action onchange "SourceNS"}}
|
||||||
@onChange={{action onchange "SourceNS"}} as |nspace|>
|
@onChange={{fn (mut this.SourceNS)}} as |nspace|>
|
||||||
{{#if (eq nspace.Name '*') }}
|
{{#if (eq nspace.Name '*') }}
|
||||||
* (All Namespaces)
|
* (All Namespaces)
|
||||||
{{else}}
|
{{else}}
|
||||||
@ -88,7 +88,7 @@
|
|||||||
@buildSuggestion={{action "createNewLabel" "Use a future Consul Namespace called '{{term}}'"}}
|
@buildSuggestion={{action "createNewLabel" "Use a future Consul Namespace called '{{term}}'"}}
|
||||||
@showCreateWhen={{action "isUnique" nspaces}}
|
@showCreateWhen={{action "isUnique" nspaces}}
|
||||||
@onCreate={{action onchange "DestinationNS"}}
|
@onCreate={{action onchange "DestinationNS"}}
|
||||||
@onChange={{action onchange "DestinationNS"}} as |nspace|>
|
@onChange={{fn (mut this.DestinationNS)}} as |nspace|>
|
||||||
{{#if (eq nspace.Name '*') }}
|
{{#if (eq nspace.Name '*') }}
|
||||||
* (All Namespaces)
|
* (All Namespaces)
|
||||||
{{else}}
|
{{else}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user