@@ -49,7 +49,7 @@ export const tokenVerificationModal = (userId: number, authToken: string, usersT
49
49
< Button key = { 1 } color = { siteSpecific ( "solid" , "keyline" ) } onClick = { ( ) => { store . dispatch ( closeActiveModal ( ) ) ; } } >
50
50
Cancel
51
51
</ Button > ,
52
- < Button key = { 0 } color = "secondary" onClick = { ( ) => {
52
+ < Button key = { 0 } color = { siteSpecific ( "keyline" , "solid" ) } onClick = { ( ) => {
53
53
store . dispatch ( authorisationsApi . endpoints . authenticateWithToken . initiate ( authToken ) )
54
54
. then ( ( ) => store . dispatch ( closeActiveModal ( ) ) ) ;
55
55
} } >
@@ -76,7 +76,7 @@ export const revocationConfirmationModal = (userId: number, userToRevoke: UserSu
76
76
< Button key = { 1 } color = { siteSpecific ( "solid" , "keyline" ) } onClick = { ( ) => { store . dispatch ( closeActiveModal ( ) ) ; } } >
77
77
Cancel
78
78
</ Button > ,
79
- < Button key = { 0 } color = "secondary" onClick = { ( ) => {
79
+ < Button key = { 0 } color = { siteSpecific ( "keyline" , "solid" ) } onClick = { ( ) => {
80
80
store . dispatch ( authorisationsApi . endpoints . revokeAuthorisation . initiate ( userToRevoke . id as number ) )
81
81
. then ( ( ) => store . dispatch ( closeActiveModal ( ) ) ) ;
82
82
} } >
@@ -102,7 +102,7 @@ export const releaseConfirmationModal = (userId: number, otherUser: UserSummaryD
102
102
< Button key = { 1 } color = { siteSpecific ( "solid" , "keyline" ) } onClick = { ( ) => { store . dispatch ( closeActiveModal ( ) ) ; } } >
103
103
Cancel
104
104
</ Button > ,
105
- < Button key = { 0 } color = "secondary" onClick = { ( ) => {
105
+ < Button key = { 0 } color = { siteSpecific ( "keyline" , "solid" ) } onClick = { ( ) => {
106
106
store . dispatch ( authorisationsApi . endpoints . releaseAuthorisation . initiate ( otherUser . id as number ) )
107
107
. then ( ( ) => store . dispatch ( closeActiveModal ( ) ) ) ;
108
108
} } >
@@ -127,7 +127,7 @@ export const releaseAllConfirmationModal = () => {
127
127
< Button key = { 1 } color = { siteSpecific ( "solid" , "keyline" ) } onClick = { ( ) => { store . dispatch ( closeActiveModal ( ) ) ; } } >
128
128
Cancel
129
129
</ Button > ,
130
- < Button key = { 0 } color = "secondary" onClick = { ( ) => {
130
+ < Button key = { 0 } color = { siteSpecific ( "keyline" , "solid" ) } onClick = { ( ) => {
131
131
store . dispatch ( authorisationsApi . endpoints . releaseAllAuthorisations . initiate ( ) )
132
132
. then ( ( ) => store . dispatch ( closeActiveModal ( ) ) ) ;
133
133
} } >
@@ -156,7 +156,7 @@ export const confirmSelfRemovalModal = (userId: number, groupId: number) => {
156
156
< Button key = { 1 } color = { siteSpecific ( "solid" , "keyline" ) } onClick = { ( ) => store . dispatch ( closeActiveModal ( ) ) } >
157
157
Cancel
158
158
</ Button > ,
159
- < Button key = { 0 } color = "secondary" onClick = { ( ) => {
159
+ < Button key = { 0 } color = { siteSpecific ( "keyline" , "solid" ) } onClick = { ( ) => {
160
160
store . dispatch ( authorisationsApi . endpoints . deleteGroupMember . initiate ( { groupId, userId} ) ) . then ( ( ) => {
161
161
store . dispatch ( closeActiveModal ( ) ) ;
162
162
} ) ;
0 commit comments