updated id strings

This commit is contained in:
Brian Bjarke Jensen
2024-02-23 23:26:19 +01:00
parent e5344e6519
commit b2c4f97b9c
3 changed files with 18 additions and 14 deletions
+11 -10
View File
@@ -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,
)
]
)
+1 -1
View File
@@ -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,
+6 -3
View File
@@ -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"),
]
)