File tree 7 files changed +9
-5
lines changed
python/api-examples-source
tutorials/custom-navigation
7 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,3 @@ def stream_data():
27
27
28
28
if st .button ("Stream data" ):
29
29
st .write_stream (stream_data )
30
- st .title ("Hi inside the button" )
31
-
32
- st .title ("Hi outside the button" )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import streamlit as st
2
2
from menu import menu
3
3
4
+ st .set_option ("client.showSidebarNavigation" , False )
5
+
4
6
if "role" in st .session_state :
5
7
st .session_state ._role = st .session_state .role
6
8
else :
Original file line number Diff line number Diff line change 1
1
import streamlit as st
2
2
from menu import menu
3
3
4
+ st .set_option ("client.showSidebarNavigation" , False )
5
+
4
6
if "role" not in st .session_state or st .session_state .role is None :
5
7
st .switch_page ("app.py" )
6
8
menu ()
Original file line number Diff line number Diff line change 1
1
import streamlit as st
2
2
from menu import menu
3
3
4
+ st .set_option ("client.showSidebarNavigation" , False )
5
+
4
6
if "role" not in st .session_state or st .session_state .role is None :
5
7
st .switch_page ("app.py" )
6
8
menu ()
Original file line number Diff line number Diff line change 1
1
import streamlit as st
2
2
from menu import menu
3
3
4
+ st .set_option ("client.showSidebarNavigation" , False )
5
+
4
6
if "role" not in st .session_state or st .session_state .role is None :
5
7
st .switch_page ("app.py" )
6
8
menu ()
Original file line number Diff line number Diff line change
1
+ streamlit-nightly
You can’t perform that action at this time.
0 commit comments