File tree Expand file tree Collapse file tree 4 files changed +28
-16
lines changed
src/Exceptionless.Web/ClientApp/src/lib/features
projects/components/table
webhooks/components/table Expand file tree Collapse file tree 4 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 5
5
import { deleteProject } from ' $features/projects/api.svelte' ;
6
6
import { ViewProject } from ' $features/projects/models' ;
7
7
import Issues from ' @lucide/svelte/icons/bug' ;
8
- import ChevronDown from ' @lucide/svelte/icons/chevron-down' ;
9
8
import Configure from ' @lucide/svelte/icons/cloud' ;
9
+ import EllipsisIcon from ' @lucide/svelte/icons/ellipsis' ;
10
10
import Organization from ' @lucide/svelte/icons/group' ;
11
11
import Edit from ' @lucide/svelte/icons/pen' ;
12
12
import X from ' @lucide/svelte/icons/x' ;
37
37
38
38
<DropdownMenu .Root >
39
39
<DropdownMenu .Trigger >
40
- <Button class =" h-8 w-8 p-0" variant =" ghost" >
41
- <ChevronDown class =" size-4" />
42
- </Button >
40
+ {#snippet child ({ props })}
41
+ <Button {...props } variant =" ghost" size =" icon" class =" relative size-8 p-0" >
42
+ <span class =" sr-only" >Open menu</span >
43
+ <EllipsisIcon />
44
+ </Button >
45
+ {/ snippet }
43
46
</DropdownMenu .Trigger >
44
47
<DropdownMenu .Content align =" end" >
45
48
<DropdownMenu .Item onclick ={() => goto (` /next/issues ` )}>
Original file line number Diff line number Diff line change 4
4
import { Button } from ' $comp/ui/button' ;
5
5
import * as DropdownMenu from ' $comp/ui/dropdown-menu' ;
6
6
import { deleteProjectConfig , postProjectConfig } from ' $features/projects/api.svelte' ;
7
- import ChevronDown from ' @lucide/svelte/icons/chevron-down ' ;
7
+ import EllipsisIcon from ' @lucide/svelte/icons/ellipsis ' ;
8
8
import Edit from ' @lucide/svelte/icons/pen' ;
9
9
import X from ' @lucide/svelte/icons/x' ;
10
10
import { toast } from ' svelte-sonner' ;
64
64
65
65
<DropdownMenu .Root >
66
66
<DropdownMenu .Trigger >
67
- <Button class =" h-8 w-8 p-0" variant =" ghost" >
68
- <ChevronDown class =" size-4" />
69
- </Button >
67
+ {#snippet child ({ props })}
68
+ <Button {...props } variant =" ghost" size =" icon" class =" relative size-8 p-0" >
69
+ <span class =" sr-only" >Open menu</span >
70
+ <EllipsisIcon />
71
+ </Button >
72
+ {/ snippet }
70
73
</DropdownMenu .Trigger >
71
74
<DropdownMenu .Content align =" end" >
72
75
<DropdownMenu .Item onclick ={() => (showUpdateProjectConfigDialog = true )} disabled ={updateProjectConfig .isPending }>
Original file line number Diff line number Diff line change 6
6
import { UseClipboard } from ' $lib/hooks/use-clipboard.svelte' ;
7
7
import Disable from ' @lucide/svelte/icons/ban' ;
8
8
import Enable from ' @lucide/svelte/icons/check' ;
9
- import ChevronDown from ' @lucide/svelte/icons/chevron-down' ;
10
9
import Copy from ' @lucide/svelte/icons/copy' ;
10
+ import EllipsisIcon from ' @lucide/svelte/icons/ellipsis' ;
11
11
import Edit from ' @lucide/svelte/icons/pen' ;
12
12
import X from ' @lucide/svelte/icons/x' ;
13
13
import { toast } from ' svelte-sonner' ;
80
80
81
81
<DropdownMenu .Root >
82
82
<DropdownMenu .Trigger >
83
- <Button class =" h-8 w-8 p-0" variant =" ghost" >
84
- <ChevronDown class =" size-4" />
85
- </Button >
83
+ {#snippet child ({ props })}
84
+ <Button {...props } variant =" ghost" size =" icon" class =" relative size-8 p-0" >
85
+ <span class =" sr-only" >Open menu</span >
86
+ <EllipsisIcon />
87
+ </Button >
88
+ {/ snippet }
86
89
</DropdownMenu .Trigger >
87
90
<DropdownMenu .Content align =" end" >
88
91
<DropdownMenu .Item onclick ={copyToClipboard }>
Original file line number Diff line number Diff line change 3
3
import * as DropdownMenu from ' $comp/ui/dropdown-menu' ;
4
4
import { deleteWebhook } from ' $features/webhooks/api.svelte' ;
5
5
import { Webhook } from ' $features/webhooks/models' ;
6
- import ChevronDown from ' @lucide/svelte/icons/chevron-down ' ;
6
+ import EllipsisIcon from ' @lucide/svelte/icons/ellipsis ' ;
7
7
import X from ' @lucide/svelte/icons/x' ;
8
8
import { toast } from ' svelte-sonner' ;
9
9
32
32
33
33
<DropdownMenu .Root >
34
34
<DropdownMenu .Trigger >
35
- <Button class =" h-8 w-8 p-0" variant =" ghost" >
36
- <ChevronDown class =" size-4" />
37
- </Button >
35
+ {#snippet child ({ props })}
36
+ <Button {...props } variant =" ghost" size =" icon" class =" relative size-8 p-0" >
37
+ <span class =" sr-only" >Open menu</span >
38
+ <EllipsisIcon />
39
+ </Button >
40
+ {/ snippet }
38
41
</DropdownMenu .Trigger >
39
42
<DropdownMenu .Content align =" end" >
40
43
<DropdownMenu .Item onclick ={() => (showRemoveWebhookDialog = true )} disabled ={removeWebhook .isPending }>
You can’t perform that action at this time.
0 commit comments