From 562542c8ecdb22eb64b529da2749ac570c43aaff Mon Sep 17 00:00:00 2001 From: tilen1976 <68303562+tilen1976@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:48:27 +0100 Subject: [PATCH] Add edit_sections --- src/datadoc/frontend/callbacks/register_callbacks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/datadoc/frontend/callbacks/register_callbacks.py b/src/datadoc/frontend/callbacks/register_callbacks.py index e41bd5c4..5efeab3d 100644 --- a/src/datadoc/frontend/callbacks/register_callbacks.py +++ b/src/datadoc/frontend/callbacks/register_callbacks.py @@ -211,6 +211,7 @@ def callback_populate_variables_workspace( for variable in list(state.metadata.variables) ] + # Work in progress... @app.callback( Output(SECTION_WRAPPER_ID, "children"), Input("language-dropdown", "value"), @@ -222,6 +223,8 @@ def callback_populate_dataset_workspace(language: str) -> list: logger.info("Populating new dataset workspace") return [ build_dataset_edit_section("Obligatorisk"), + build_dataset_edit_section("Anbefalt"), + build_dataset_edit_section("Maskingenerert"), ] @app.callback(