mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 05:40:26 +02:00
feat: Add integration settings loading to settings page
This commit is contained in:
@@ -3,6 +3,7 @@ from flask.typing import ResponseReturnValue
|
|||||||
|
|
||||||
from abogen.web.routes.utils.settings import (
|
from abogen.web.routes.utils.settings import (
|
||||||
load_settings,
|
load_settings,
|
||||||
|
load_integration_settings,
|
||||||
save_settings,
|
save_settings,
|
||||||
coerce_bool,
|
coerce_bool,
|
||||||
coerce_int,
|
coerce_int,
|
||||||
@@ -27,6 +28,7 @@ def settings_page() -> str:
|
|||||||
return render_template(
|
return render_template(
|
||||||
"settings.html",
|
"settings.html",
|
||||||
settings=load_settings(),
|
settings=load_settings(),
|
||||||
|
integrations=load_integration_settings(),
|
||||||
options=template_options(),
|
options=template_options(),
|
||||||
normalization_samples=_NORMALIZATION_SAMPLES,
|
normalization_samples=_NORMALIZATION_SAMPLES,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user