feat: определение активный схем - в файле конфига

This commit is contained in:
2026-04-23 11:57:50 +03:00
parent 696f2e3ac8
commit 7b6cbc67e4
4 changed files with 14 additions and 16 deletions

9
app.R
View File

@@ -22,7 +22,6 @@ box::use(
global_options$set_global_options(
shiny.host = "0.0.0.0"
)
global_options$check_and_init_scheme()
# global vars
@@ -37,9 +36,11 @@ box::use(app/tasks)
# SETTINGS ================================
HEADER_TEXT <- config::get("form_name")
# sadasdasdasdasdas
options(box.path = config::get("form_app_configure_path"))
box::use(configs/enabled_schemes[enabled_schemes])
# refactor LATER ---------
vv <- unlist(config::get()$form_schemes)
enabled_schemes <- names(vv)
vvvv <- unname(vv)
names(enabled_schemes) <- vvvv
# CHECK FOR PANDOC
# TEMP ! NEED TO HANDLE