diff --git a/api/advent22_api/routers/admin.py b/api/advent22_api/routers/admin.py index 41063e2..ddcdde3 100644 --- a/api/advent22_api/routers/admin.py +++ b/api/advent22_api/routers/admin.py @@ -31,7 +31,6 @@ class ConfigModel(BaseModel): class __Calendar(BaseModel): config_file: str background: str - doors: list[int] class __Image(BaseModel): class __Font(BaseModel): @@ -73,7 +72,6 @@ async def get_config_model( "calendar": { "config_file": cfg.puzzle.calendar, "background": cal_cfg.background, - "doors": [door.day for door in cal_cfg.doors], }, "image": { "size": 500, # TODO diff --git a/ui/src/components/ConfigView.vue b/ui/src/components/ConfigView.vue index afd8d8a..5cf05bd 100644 --- a/ui/src/components/ConfigView.vue +++ b/ui/src/components/ConfigView.vue @@ -49,7 +49,8 @@