DEV: Convert admin API keys to conform to UI guidelines (#30660)

Re-opening of #30096. It was reverted because it was missing a sidebar link to Webhooks in the admin panel.
This commit is contained in:
Ted Johansson
2025-01-09 10:57:40 +08:00
committed by GitHub
parent 9bf31add6a
commit 590b3e11fb
22 changed files with 958 additions and 516 deletions

View File

@@ -14,6 +14,7 @@ class Admin::ApiController < Admin::AdminController
ApiKey
.where(hidden: false)
.includes(:user)
.includes(:created_by)
.order("revoked_at DESC NULLS FIRST, created_at DESC")
.offset(offset)
.limit(limit)