mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
feat: Cloud sync supports syncing tags
This commit is contained in:
@@ -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
|
||||
|
@@ -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' }
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user