File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
resources/scripts/components/server/users Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -49,21 +49,21 @@ export default ({ subuser }: Props) => {
4949 < p css = { tw `text-2xs text-neutral-500 uppercase` } > Permissions</ p >
5050 </ div >
5151 { subuser . uuid !== uuid &&
52- < Can action = { 'user.update' } >
53- < button
54- type = { ' button' }
55- aria-label = { 'Edit subuser ' }
56- css = { tw `block text-sm p-1 md:p-2 text-neutral-500 hover:text-neutral-100 transition-colors duration-150 mx-4` }
57- onClick = { ( ) => setVisible ( true ) }
58- >
59- < FontAwesomeIcon icon = { faPencilAlt } / >
60- </ button >
61- </ Can >
62- }
63- { subuser . uuid !== uuid &&
64- < Can action = { 'user.delete' } >
65- < RemoveSubuserButton subuser = { subuser } / >
66- </ Can >
52+ < >
53+ < Can action = { 'user.update' } >
54+ < button
55+ type = { 'button ' }
56+ aria-label = { 'Edit subuser' }
57+ css = { tw `block text-sm p-1 md:p-2 text-neutral-500 hover:text-neutral-100 transition-colors duration-150 mx-4` }
58+ onClick = { ( ) => setVisible ( true ) }
59+ >
60+ < FontAwesomeIcon icon = { faPencilAlt } / >
61+ </ button >
62+ </ Can >
63+ < Can action = { 'user.delete' } >
64+ < RemoveSubuserButton subuser = { subuser } / >
65+ </ Can >
66+ </ >
6767 }
6868 </ GreyRowBox >
6969 ) ;
You can’t perform that action at this time.
0 commit comments