Default web handler type dropdown to 'All' to indicate it's optional

This commit is contained in:
Alex Gleason committed 2026-04-03 14:15:35 -05:00
1 parent a81b8420f5
commit 68c51fb48f
1 file changed
+4 -3
+4 -3
View File
@@ -752,14 +752,15 @@ export function AppDialog({ projectId, open, onOpenChange }: AppDialogProps) {
className="flex-1"
/>
<Select
value={newHandlerType}
onValueChange={setNewHandlerType}
value={newHandlerType === '' ? '__all__' : newHandlerType}
onValueChange={v => setNewHandlerType(v === '__all__' ? '' : v)}
disabled={isSaving}
>
<SelectTrigger className="w-28">
<SelectValue placeholder="Type" />
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="__all__">All</SelectItem>
<SelectItem value="npub">npub</SelectItem>
<SelectItem value="note">note</SelectItem>
<SelectItem value="nprofile">nprofile</SelectItem>