updated id strings
This commit is contained in:
+11
-10
@@ -2,13 +2,14 @@ from dash import html, dcc
|
||||
import dash_bootstrap_components as dbc
|
||||
|
||||
|
||||
alerts_element = html.Div([
|
||||
dbc.Alert(
|
||||
children="",
|
||||
id="alert_element",
|
||||
dismissable=True,
|
||||
fade=False,
|
||||
is_open=False,
|
||||
),
|
||||
dcc.Store(id="alert_message")
|
||||
])
|
||||
alerts_element = html.Div(
|
||||
children=[
|
||||
dbc.Alert(
|
||||
children="",
|
||||
id="alert-element",
|
||||
dismissable=True,
|
||||
fade=False,
|
||||
is_open=False,
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ import dash_mantine_components as dmc
|
||||
|
||||
image_element = dmc.Center(
|
||||
dmc.Image(
|
||||
id="image_container",
|
||||
id="image-container",
|
||||
width=600,
|
||||
height=600,
|
||||
withPlaceholder=True,
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
from dash import html, dcc
|
||||
|
||||
|
||||
stores_element = html.Div([
|
||||
dcc.Store(id='visual-communication-name', storage_type='session'),
|
||||
])
|
||||
stores_element = html.Div(
|
||||
children=[
|
||||
dcc.Store(id="alert-message", storage_type="session"),
|
||||
dcc.Store(id="visual-communication-name", storage_type="session"),
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user