mirror of https://github.com/rancher/dashboard.git
Fleet fix target clusters labels
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
d95f64064f
commit
29ef1ba8d2
|
|
@ -2591,6 +2591,11 @@ fleet:
|
|||
title: Selected clusters
|
||||
placeholder: Select clusters by name or labels
|
||||
empty: No clusters in the workspace
|
||||
plusMore: |-
|
||||
{n, plural,
|
||||
=1 {+ 1 more cluster}
|
||||
other {+ {n, number} more clusters}
|
||||
}
|
||||
application:
|
||||
pageTitle: App Bundles
|
||||
menuLabel: App Bundles
|
||||
|
|
@ -2725,7 +2730,7 @@ fleet:
|
|||
additionalOptions: Additional settings
|
||||
targetDisplay:
|
||||
advanced: Advanced
|
||||
clusters: "Clusters"
|
||||
clusters: Clusters
|
||||
all: All
|
||||
none: None
|
||||
local: Local
|
||||
|
|
@ -2857,7 +2862,7 @@ fleet:
|
|||
additionalOptions: Additional Options
|
||||
targetDisplay:
|
||||
advanced: Advanced
|
||||
clusters: "Clusters"
|
||||
clusters: Clusters
|
||||
all: All
|
||||
none: None
|
||||
local: Local
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export default {
|
|||
if (remaining > 0) {
|
||||
return [
|
||||
...names.filter((_, i) => i < max),
|
||||
`... and ${ remaining } other clusters`
|
||||
this.t('fleet.clusterTargets.rules.matching.plusMore', { n: remaining }, true),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@ export default {
|
|||
clusterGroupSelector,
|
||||
} = target;
|
||||
|
||||
// If clusterGroup or clusterGroupSelector are defined, targets are marked as complex and won't handle by the UI
|
||||
if (clusterGroup || clusterGroupSelector) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -414,7 +414,7 @@ export default {
|
|||
type="button"
|
||||
class="btn role-tertiary add"
|
||||
:class="[addClass]"
|
||||
:data-testid="`input-match-expression-add-rule`"
|
||||
data-testid="input-match-expression-add-rule"
|
||||
@click="addRule"
|
||||
>
|
||||
<i
|
||||
|
|
|
|||
Loading…
Reference in New Issue