Add 'All' option to web handler type dropdown so it can be reset

This commit is contained in:
Alex Gleason committed 2026-04-03 14:20:44 -05:00
1 parent 1d6ad575f6
commit be458ece7b
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_'}
onValueChange={v => setNewHandlerType(v === '_all_' ? '' : v)}
disabled={isSaving}
>
<SelectTrigger className="w-28">
<SelectValue placeholder="All" />
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="_all_">All</SelectItem>
<SelectItem value="npub">npub</SelectItem>
<SelectItem value="note">note</SelectItem>
<SelectItem value="nprofile">nprofile</SelectItem>