mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-26 15:07:04 +00:00
feat: Cloud sync supports syncing tags
This commit is contained in:
@@ -79,6 +79,9 @@ export default {
|
|||||||
case 'account_template':
|
case 'account_template':
|
||||||
url = '/api/v1/accounts/account-templates/'
|
url = '/api/v1/accounts/account-templates/'
|
||||||
break
|
break
|
||||||
|
case 'label':
|
||||||
|
url = '/api/v1/labels/labels/'
|
||||||
|
break
|
||||||
case 'name_strategy':
|
case 'name_strategy':
|
||||||
options = this.nameOptions
|
options = this.nameOptions
|
||||||
break
|
break
|
||||||
|
@@ -6,6 +6,7 @@ export const resourceTypeOptions = [
|
|||||||
{ label: i18n.t('Node'), value: 'node' },
|
{ label: i18n.t('Node'), value: 'node' },
|
||||||
{ label: i18n.t('Zone'), value: 'domain' },
|
{ label: i18n.t('Zone'), value: 'domain' },
|
||||||
{ label: i18n.t('AccountTemplate'), value: 'account_template' },
|
{ label: i18n.t('AccountTemplate'), value: 'account_template' },
|
||||||
|
{ label: i18n.t('Tags'), value: 'label' },
|
||||||
{ label: i18n.t('Strategy'), value: 'name_strategy' }
|
{ label: i18n.t('Strategy'), value: 'name_strategy' }
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user