File tree Expand file tree Collapse file tree 9 files changed +10
-14
lines changed
components/WfoServiceTicketDetailPage
packages/orchestrator-ui-components/src
WfoWorkflowSteps/WfoStepList Expand file tree Collapse file tree 9 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ export const WfoSubscriptionImpactTable = () => {
4848 const toggleDetails = ( object : ServiceTicketImpactedObjectColumns ) => {
4949 const itemIdToExpandedRowMapValues = { ...itemIdToExpandedRowMap } ;
5050 const id = object . subscription_id ? object . subscription_id : '0' ;
51- console . log ( itemIdToExpandedRowMapValues , 'toggleDetails' ) ;
52- console . log ( object , 'object' ) ;
5351
5452 if ( itemIdToExpandedRowMapValues [ id ] ) {
5553 delete itemIdToExpandedRowMapValues [ id ] ;
@@ -85,11 +83,6 @@ export const WfoSubscriptionImpactTable = () => {
8583 const itemIdToExpandedRowMapValues = {
8684 ...itemIdToExpandedRowMap ,
8785 } ;
88- console . log ( 'OBJECT' , object ) ;
89- console . log (
90- itemIdToExpandedRowMapValues ,
91- 'itemIdToExpandedRowMapValues' ,
92- ) ;
9386 return value ? (
9487 < EuiButtonIcon
9588 onClick = { ( ) => toggleDetails ( object ) }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { CreateForm } from '@orchestrator-ui/orchestrator-ui-components';
66export function FormsPage ( ) {
77 /* eslint-disable @typescript-eslint/no-explicit-any */
88 const handleSubmit = ( userInputs : any ) => {
9+ // eslint-disable-next-line no-console
910 console . log ( 'Submitted: ' , userInputs ) ;
1011 } ;
1112
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { CreateForm } from '@orchestrator-ui/orchestrator-ui-components';
66export function FormsPage ( ) {
77 /* eslint-disable @typescript-eslint/no-explicit-any */
88 const handleSubmit = ( userInputs : any ) => {
9+ // eslint-disable-next-line no-console
910 console . log ( 'Submitted: ' , userInputs ) ;
1011 } ;
1112
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ export class BaseApiClient {
4747 . then ( ( res ) => res . data )
4848 . catch ( ( err ) => {
4949 if ( showErrorDialog ) {
50- console . debug (
51- `Show error dialog for GET ${ path } returning ${ err ?. response ?. status } ` ,
52- ) ;
5350 setTimeout ( ( ) => {
5451 throw err ;
5552 } , 250 ) ;
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ export function CreateForm(props: IProps) {
3434 const submit = useCallback (
3535 ( userInputs : object [ ] ) => {
3636 return apiClient . cimStartForm ( formKey , userInputs ) . then ( ( form ) => {
37- console . log ( 'Submit {formkey} =' , formKey ) ;
3837 handleSubmit ( form ) ;
3938 } ) ;
4039 } ,
Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ function UserInputForm({
448448 question : string | undefined ,
449449 confirm : ConfirmDialogActions [ 'closeConfirmDialog' ] ,
450450 ) => {
451+ // eslint-disable-next-line no-console
451452 console . log ( e , question , confirm ) ;
452453 alert ( 'TODO: Implement on buttonClick cancel with confirm modal' ) ;
453454 // https://github.com/workfloworchestrator/orchestrator-ui/issues/325
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default class IpPrefixTableField extends React.PureComponent<IProps> {
123123 ? aVal . toLowerCase ( ) . localeCompare ( bVal . toLowerCase ( ) )
124124 : ( aVal as number ) - ( bVal as number ) ;
125125 } catch ( e ) {
126- console . log ( e ) ;
126+ console . error ( e ) ;
127127 }
128128 return 0 ;
129129 } ;
Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ export const WfoStepList = React.forwardRef(
6161 behavior : 'smooth' ,
6262 } ) ;
6363 } catch {
64- console . log ( 'Error scrolling to step with stepId ' , stepId ) ;
64+ console . error (
65+ 'Error scrolling to step with stepId ' ,
66+ stepId ,
67+ ) ;
6568 }
6669 } ,
6770 } ) ) ;
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export const WfoStartWorkflowPage = ({
7272 const process = result as { id : string } ;
7373 // TODO: Use toast hook to display success message
7474 if ( process . id ) {
75+ // eslint-disable-next-line no-console
7576 console . log (
7677 'resolver successfullly!: ' ,
7778 process . id ,
@@ -92,7 +93,7 @@ export const WfoStartWorkflowPage = ({
9293 503 ,
9394 ( json ) => {
9495 // TODO: Use the toastMessage hook to display an engine down error message
95- console . log ( 'engine down!!!' , json ) ;
96+ console . error ( 'engine down!!!' , json ) ;
9697 router . push ( PATH_PROCESSES ) ;
9798 } ,
9899 ) ;
You can’t perform that action at this time.
0 commit comments