Merge pull request #22365 from netbox-community/22340-token-allowed_ips-list

Fixes #22340: Correct display of allowed IPs for tokens in web UI
This commit is contained in:
bctiemann 2026-06-02 14:21:27 -04:00 committed by GitHub
commit b1ebd93349
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class TokenPanel(panels.ObjectAttributesPanel):
write_enabled = attrs.BooleanAttr('write_enabled')
expires = attrs.TextAttr('expires')
last_used = attrs.TextAttr('last_used')
allowed_ips = attrs.TextAttr('allowed_ips')
allowed_ips = attrs.ArrayAttr('allowed_ips', label=_('Allowed IPs'))
class TokenExamplePanel(panels.Panel):