Skip to content

Commit

Permalink
feat: Cloud sync supports syncing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Jiangweidong committed Jan 7, 2025
1 parent 46898d2 commit a94a415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/assets/Cloud/Strategy/components/ActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ export default {
case 'account_template':
url = '/api/v1/accounts/account-templates/'
break
case 'label':
url = '/api/v1/labels/labels/'
break
case 'name_strategy':
options = this.nameOptions
break
Expand Down
1 change: 1 addition & 0 deletions src/views/assets/Cloud/Strategy/components/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const resourceTypeOptions = [
{ label: i18n.t('Node'), value: 'node' },
{ label: i18n.t('Zone'), value: 'domain' },
{ label: i18n.t('AccountTemplate'), value: 'account_template' },
{ label: i18n.t('Tags'), value: 'label' },
{ label: i18n.t('Strategy'), value: 'name_strategy' }
]

Expand Down

0 comments on commit a94a415

Please sign in to comment.