File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
ballerina-visualizer/src/views/DataMapper
common-libs/ui-toolkit/src/components/ErrorBoundary/Error Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import { ErrorBoundary } from "@wso2/ui-toolkit";
2323
2424import { TopNavigationBar } from "../../components/TopNavigationBar" ;
2525import { DataMapperView } from "./DataMapperView" ;
26+ import { BALLERINA_INTEGRATOR_ISSUES_URL } from "../../utils/bi" ;
2627
2728export interface DataMapperProps {
2829 filePath : string ;
@@ -38,7 +39,7 @@ export function DataMapper(props: DataMapperProps) {
3839 return (
3940 < >
4041 < TopNavigationBar projectPath = { props . projectPath } />
41- < ErrorBoundary errorMsg = "Error while loading the Data Mapper" >
42+ < ErrorBoundary errorMsg = "Error while loading the Data Mapper" issueUrl = { BALLERINA_INTEGRATOR_ISSUES_URL } >
4243 < DataMapperView { ...props } />
4344 </ ErrorBoundary >
4445 </ >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import { CompletionItem, ErrorBoundary } from "@wso2/ui-toolkit";
2929
3030import { DataMapperEditor } from "./components/DataMapper/DataMapperEditor" ;
3131import { ExpressionProvider } from "./context/ExpressionContext" ;
32+ import { ISSUES_URL } from "./components/Diagram/utils/constants" ;
3233
3334const queryClient = new QueryClient ( {
3435 defaultOptions : {
@@ -92,7 +93,7 @@ export interface DataMapperProps extends DataMapperEditorProps {
9293
9394export function DataMapper ( { expressionBar, ...props } : DataMapperProps ) {
9495 return (
95- < ErrorBoundary errorMsg = "An error occurred while rendering the Data Mapper" >
96+ < ErrorBoundary errorMsg = "An error occurred while rendering the Data Mapper" issueUrl = { ISSUES_URL } >
9697 < QueryClientProvider client = { queryClient } >
9798 < Global styles = { globalStyles } />
9899 < ExpressionProvider { ...expressionBar } >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export interface ErrorProps {
3333export function ErrorScreen ( props : ErrorProps ) {
3434 const classes = useStyles ( ) ;
3535 const { resetBoundary } = useErrorBoundary ( ) ;
36- const issueUrl = props . issueUrl || "https://github.com/wso2/ballerina-plugin- vscode/issues" ;
36+ const issueUrl = props . issueUrl || "https://github.com/wso2/vscode-extensions /issues" ;
3737
3838 return (
3939 < div className = { classes . root } >
You can’t perform that action at this time.
0 commit comments