mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 09:21:02 +00:00
perf: ticket optimization (#9094)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -35,4 +35,4 @@ class ActionChoices(BitChoices):
|
||||
|
||||
@classmethod
|
||||
def display(cls, value):
|
||||
return ', '.join([c.label for c in cls if c.value & value == c.value])
|
||||
return ', '.join([str(c.label) for c in cls if c.value & value == c.value])
|
||||
|
Reference in New Issue
Block a user