Merge pull request #10437 from appsmithorg/fix/name-of-undefined-datasource
fix: Name of undefined error in datasource catch Block
This commit is contained in:
commit
d29016590b
|
|
@ -295,7 +295,7 @@ export function* deleteDatasourceSaga(
|
|||
text: error.message,
|
||||
source: {
|
||||
id: actionPayload.payload.id,
|
||||
name: datasource.name,
|
||||
name: datasource?.name ?? "Datasource name is not set",
|
||||
type: ENTITY_TYPE.DATASOURCE,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user