mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 16:35:10 +00:00
perf: ConnectionTokenSerializer add org_name label (#13714)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -37,6 +37,7 @@ class ConnectionTokenSerializer(CommonModelSerializer):
|
||||
]
|
||||
fields = fields_small + read_only_fields
|
||||
extra_kwargs = {
|
||||
'org_name': {'label': _('Org name')},
|
||||
'from_ticket': {'read_only': True},
|
||||
'value': {'read_only': True},
|
||||
'is_expired': {'read_only': True, 'label': _('Is expired')},
|
||||
|
Reference in New Issue
Block a user