mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-24 00:34:23 +01:00
(feat) default initial state of the sidebar in expanded
This commit is contained in:
@@ -7,7 +7,8 @@ import inspect
|
|||||||
import streamlit as st
|
import streamlit as st
|
||||||
from st_pages import add_page_title
|
from st_pages import add_page_title
|
||||||
|
|
||||||
def initialize_st_page(title: str, icon: str, layout="wide", initial_sidebar_state="collapsed"):
|
|
||||||
|
def initialize_st_page(title: str, icon: str, layout="wide", initial_sidebar_state="expanded"):
|
||||||
st.set_page_config(
|
st.set_page_config(
|
||||||
page_title=title,
|
page_title=title,
|
||||||
page_icon=icon,
|
page_icon=icon,
|
||||||
|
|||||||
Reference in New Issue
Block a user