mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-06 08:18:45 +00:00
Fix: Resolve "Select.Item must have a value prop" error in API token generation
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/c64d75b1-07a8-4ddf-b911-e6c3bd22c769.jpg
This commit is contained in:
@@ -373,7 +373,7 @@ export default function ApiTokensPage() {
|
||||
</FormControl>
|
||||
<SelectContent>
|
||||
{/* System roles */}
|
||||
<SelectItem key="system-roles" value="" disabled className="text-muted-foreground">
|
||||
<SelectItem key="system-roles" value="__system_roles_header" disabled className="text-muted-foreground">
|
||||
System Roles
|
||||
</SelectItem>
|
||||
{systemRoles.map((role) => (
|
||||
@@ -388,7 +388,7 @@ export default function ApiTokensPage() {
|
||||
{/* Custom roles */}
|
||||
{customRoles.length > 0 && (
|
||||
<>
|
||||
<SelectItem key="custom-roles" value="" disabled className="text-muted-foreground mt-2">
|
||||
<SelectItem key="custom-roles" value="__custom_roles_header" disabled className="text-muted-foreground mt-2">
|
||||
Custom Roles
|
||||
</SelectItem>
|
||||
{customRoles.map((role) => (
|
||||
|
||||
Reference in New Issue
Block a user