Skip to content

Commit

Permalink
Ensure Performance --> Pagination setting only enables post compatibl…
Browse files Browse the repository at this point in the history
…e check
  • Loading branch information
richard-cox committed Aug 19, 2024
1 parent 2386076 commit 34ab599
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions shell/pages/c/_cluster/settings/performance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,11 @@ export default {
this.$store.dispatch('cluster/promptModal', {
component: 'GenericPrompt',
componentProps: {
applyMode: 'enable',
applyMode: 'enable',
confirm: (confirmed) => {
this.value[property].enabled = confirmed;
},
applyAction: (buttonDone) => {
this.value[property].enabled = true;
(incompatible[property] || []).forEach((incompatible) => {
this.value[incompatible].enabled = false;
});
Expand Down Expand Up @@ -212,7 +214,7 @@ export default {
color="warning"
/>
<Checkbox
v-model="value.serverPagination.enabled"
:value="value.serverPagination.enabled"
:mode="mode"
:label="t('performance.serverPagination.checkboxLabel')"
class="mt-10 mb-20"
Expand Down

0 comments on commit 34ab599

Please sign in to comment.