Skip to content

Commit cfa3cd0

Browse files
authored
Merge pull request #15518 from ly5156/release-2.11
fix(SimpleSecretSelector): fix Secret with Auth Password display error
2 parents d1d621b + 4295efb commit cfa3cd0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cypress/e2e/tests/pages/virtualization-mgmt/harvester.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ describe('Harvester', { tags: ['@virtualizationMgmt', '@adminUser'] }, () => {
190190
// So we can't use anything indexed based related to it (new, incompatible versions are introduced at the top)
191191
// So just hardcode it instead
192192
const initialVersion = '1.5.0';
193-
const upgradeVersion = '1.5.1';
193+
const upgradeVersion = '1.5.2';
194194

195195
// select older version and click install
196196
extensionsPo.installModalSelectVersionLabel(initialVersion);

shell/components/form/SimpleSecretSelector.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default {
7676
none: NONE,
7777
SECRET,
7878
allSecretsSettings: {
79-
mapResult: (secrets) => {
79+
updateResources: (secrets) => {
8080
const allSecretsInNamespace = secrets.filter((secret) => this.types.includes(secret._type) && secret.namespace === this.namespace);
8181
const mappedSecrets = this.mapSecrets(allSecretsInNamespace.sort((a, b) => a.name.localeCompare(b.name)));
8282
@@ -87,7 +87,7 @@ export default {
8787
},
8888
paginateSecretsSetting: {
8989
requestSettings: this.paginatePageOptions,
90-
mapResult: (secrets) => {
90+
updateResources: (secrets) => {
9191
const mappedSecrets = this.mapSecrets(secrets);
9292
9393
this.secrets = secrets; // We need the key from the selected secret. When paginating we won't touch the store, so just pass back here

0 commit comments

Comments
 (0)