Skip to content

Commit

Permalink
minor enhancements in ui, remove unused codeq
Browse files Browse the repository at this point in the history
  • Loading branch information
aahnik committed Oct 29, 2022
1 parent 82a5330 commit 751203d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tgcf/web_ui/pages/3_🔗_Connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
if st.button(f"Remove connection {con}"):
del CONFIG.forwards[i]
write_config(CONFIG)
st.session_state["button_rem"] = False
st.experimental_rerun()

st.write("---")
Expand Down
2 changes: 1 addition & 1 deletion tgcf/web_ui/pages/6_🔬_Advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
dumped = json.dumps(data, indent=3)

with st.expander("View config json"):
st.code(dumped, language="json")
st.json(data)
st.download_button(
f"Download config json", data=dumped, file_name=CONFIG_FILE_NAME
)

0 comments on commit 751203d

Please sign in to comment.