File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
src/lib/components/permissions Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 88
88
{@const exists = $groups .has (role )}
89
89
<Table .Row .Button {root } on:click ={() => onSelection (role )} disabled ={exists }>
90
90
<Table .Cell column ="checkbox" {root }>
91
- <Selector .Checkbox
92
- size =" s"
93
- id ={team .$id }
94
- disabled ={exists }
95
- checked ={exists || selected .has (role )} />
91
+ <div style:pointer-events =" none" >
92
+ <Selector .Checkbox
93
+ size =" s"
94
+ id ={team .$id }
95
+ disabled ={exists }
96
+ checked ={exists || selected .has (role )} />
97
+ </div >
96
98
</Table .Cell >
97
99
<Table .Cell column ="team" {root }>
98
100
<Layout .Stack direction =" row" alignItems =" center" gap =" s" >
Original file line number Diff line number Diff line change 90
90
{@const exists = $groups .has (role )}
91
91
<Table .Row .Button {root } on:click ={() => onSelection (role )} disabled ={exists }>
92
92
<Table .Cell column ="checkbox" {root }>
93
- <Selector .Checkbox
94
- size =" s"
95
- id ={user .$id }
96
- disabled ={exists }
97
- checked ={exists || selected .has (role )} />
93
+ <div style:pointer-events =" none" >
94
+ <Selector .Checkbox
95
+ size =" s"
96
+ id ={user .$id }
97
+ disabled ={exists }
98
+ checked ={exists || selected .has (role )} />
99
+ </div >
98
100
</Table .Cell >
99
101
<Table .Cell column ="user" {root }>
100
102
<Layout .Stack direction =" row" alignItems =" center" gap =" s" >
You can’t perform that action at this time.
0 commit comments