File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -587,7 +587,11 @@ export const RFFSelectSearch = ({
587
587
{ ...props }
588
588
/>
589
589
) }
590
- { meta . error && meta . touched && < span className = "text-danger" > { meta . error } </ span > }
590
+ { meta . error && meta . touched && (
591
+ < span className = "text-danger" >
592
+ { typeof meta . error === 'object' ? Object . values ( meta . error ) . join ( '' ) : meta . error }
593
+ </ span >
594
+ ) }
591
595
</ div >
592
596
)
593
597
} }
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export function SettingsSuperAdmin() {
103
103
</ >
104
104
</ >
105
105
</ CippAccordionItem >
106
- < CippAccordionItem title = "Custom Roles" titleType = "big" >
106
+ < CippAccordionItem title = "Custom Roles (beta) " titleType = "big" >
107
107
< SettingsCustomRoles />
108
108
</ CippAccordionItem >
109
109
</ CAccordion >
Original file line number Diff line number Diff line change @@ -227,8 +227,9 @@ const SettingsCustomRoles = () => {
227
227
direct API access, create a role with the name 'CIPP-API'.
228
228
</ p >
229
229
< p className = "small" >
230
- NOTE: The custom role must be added to the user in SWA in conjunction with the base role.
231
- (e.g. editor,mycustomrole)
230
+ < FontAwesomeIcon icon = "triangle-exclamation" className = "me-2" /> This functionality is in
231
+ beta and should be treated as such. The custom role must be added to the user in SWA in
232
+ conjunction with the base role. (e.g. editor,mycustomrole)
232
233
</ p >
233
234
{ ( isFetching || tenantsFetching ) && < Skeleton count = { 1 } /> }
234
235
{ isSuccess && ! isFetching && ! tenantsFetching && (
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ const AlertWizard = () => {
96
96
const getRecurrenceOptions = ( ) => {
97
97
const values = currentFormState ?. values
98
98
if ( values ) {
99
- //console.log(currentFormState)
100
99
const updatedRecurrenceOptions = recurrenceOptions . map ( ( opt ) => ( {
101
100
...opt ,
102
101
name : opt . name . replace ( ' (Recommended)' , '' ) ,
@@ -317,7 +316,7 @@ const AlertWizard = () => {
317
316
multi = { true }
318
317
name = { `actions` }
319
318
placeholder = {
320
- 'Select one action or multple actions from the list'
319
+ 'Select one action or multiple actions from the list'
321
320
}
322
321
label = "Then perform the following action(s)"
323
322
/>
You can’t perform that action at this time.
0 commit comments