This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 26b7ee2c Fix #1030
26b7ee2c is described below
commit 26b7ee2c4ef1e8f333d1c6882d7c2414275ef360
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Fri Dec 15 14:39:40 2023 -0500
Fix #1030
---
karavan-space/src/space/SpacePage.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/karavan-space/src/space/SpacePage.tsx
b/karavan-space/src/space/SpacePage.tsx
index 895955ad..3dea0d2a 100644
--- a/karavan-space/src/space/SpacePage.tsx
+++ b/karavan-space/src/space/SpacePage.tsx
@@ -66,7 +66,7 @@ export class SpacePage extends React.Component<Props, State> {
const {name, yaml} = this.props;
if (name && yaml) {
const a = document.createElement('a');
- a.setAttribute('download', 'example.yaml');
+ a.setAttribute('download', 'example.camel.yaml');
a.setAttribute('href', 'data:text/plain;charset=utf-8,' +
encodeURIComponent(yaml));
a.click();
}