Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RLG Maker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Romain DELEAU
RLG Maker
Commits
d7c0a6ef
Commit
d7c0a6ef
authored
Oct 04, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSON file formatted directly
parent
738b5579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app.component.ts
src/app/app.component.ts
+1
-1
No files found.
src/app/app.component.ts
View file @
d7c0a6ef
...
...
@@ -81,7 +81,7 @@ export class AppComponent {
}
this
.
scenario
.
tooltips
=
this
.
tooltipService
.
activatedTooltips
;
this
.
scenario
.
traces
.
push
(
new
Trace
(
this
.
scenario
.
traces
.
length
,
'save'
,
undefined
,
undefined
,
'all'
,
'Scenario'
));
const
jsonString
=
JSON
.
stringify
(
this
.
scenario
);
const
jsonString
=
JSON
.
stringify
(
this
.
scenario
,
undefined
,
2
);
const
blob
=
new
Blob
([
jsonString
],
{
type
:
'application/json'
});
const
url
=
URL
.
createObjectURL
(
blob
);
const
link
=
document
.
createElement
(
'a'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment