mirror of https://github.com/jumpserver/jumpserver
perf: ConnectionTokenSerializer add org_name label (#13714)
Co-authored-by: feng <1304903146@qq.com>pull/13716/head
parent
2d4b9ff5a8
commit
ced79ea6c9
|
@ -37,6 +37,7 @@ class ConnectionTokenSerializer(CommonModelSerializer):
|
||||||
]
|
]
|
||||||
fields = fields_small + read_only_fields
|
fields = fields_small + read_only_fields
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
|
'org_name': {'label': _('Org name')},
|
||||||
'from_ticket': {'read_only': True},
|
'from_ticket': {'read_only': True},
|
||||||
'value': {'read_only': True},
|
'value': {'read_only': True},
|
||||||
'is_expired': {'read_only': True, 'label': _('Is expired')},
|
'is_expired': {'read_only': True, 'label': _('Is expired')},
|
||||||
|
|
Loading…
Reference in New Issue