Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/ Candle Lines, Tables/Charts Save (MacOS) #5019

Merged
merged 15 commits into from
May 15, 2023
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ website/functions
website/terminaltest
!build/docker/compose.env
openbb_terminal/core/plots/assets/plotly*.js
openbb_terminal/core/plots/plotly_temp.html
openbb_terminal/core/plots/table_temp.html
.dccache
*rome.json

# pyinstaller artifacts
*.pyo
Expand Down
2 changes: 1 addition & 1 deletion build/pyinstaller/macOS/darwin/Resources/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2022 OpenBB Inc.
Copyright (c) 2021-2023 OpenBB Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 2 additions & 0 deletions frontend-components/plotly/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ function App() {
title: "",
};
let filename = data.layout?.title?.text
.replace(/ -/g, "")
.replace(/-/g, "")
.replace(/<b>|<\/b>/g, "")
.replace(/ /g, "_");
let date = new Date().toISOString().slice(0, 10).replace(/-/g, "");
Expand Down
Loading