Skip to content

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented May 13, 2025

fix: Cloud account update strategy can only be selected from the same category

@fit2bot fit2bot requested a review from a team May 13, 2025 02:42
@@ -138,7 +138,7 @@ export default {
strategyRelationConfig: {
title: this.$t('Strategy'),
objectsAjax: {
url: '/api/v1/xpack/cloud/strategies/',
url: `/api/v1/xpack/cloud/strategies/?category=${this.object.category}`,
transformOption: (item) => {
return { label: item.name, value: item.id }
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no issue detected in this provided code snippet. This is good to go! If you need further adjustments, please let us know.

Here are your answers:

  1. No issues found in the given code.
  2. There could be some minor improvements but not related to any potential or actual issues with regularities observed between both codes.

For more specific help regarding optimizations or changes in other languages such as Python, JavaScript, etc., feel free to ask for details!

Copy link

@feng626 feng626 merged commit 7a48949 into dev May 13, 2025
6 checks passed
@feng626 feng626 deleted the pr@dev@fix_account_update_select_strategy branch May 13, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants