mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
fix link with basepath
This commit is contained in:
+3
-2
@@ -39,9 +39,10 @@ CONFIG = Config()
|
||||
|
||||
|
||||
def add_header(el):
|
||||
return dbc.Row([dbc.Col(dcc.Link(html.H1('My car info'), href="/", style={"text-decoration": "none"})),
|
||||
return dbc.Row([dbc.Col(dcc.Link(html.H1('My car info'), href=dash_app.requests_pathname_external_prefix,
|
||||
style={"text-decoration": "none"})),
|
||||
dbc.Col(dcc.Link(html.Img(src="assets/images/settings.svg", width="30veh"),
|
||||
href="/config",
|
||||
href=dash_app.requests_pathname_external_prefix+"config",
|
||||
className="float-end"))]), el
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user