feat(factory): implement db-backed dashboard and workflow automation refs NOISSUE
This commit is contained in:
@@ -7,7 +7,11 @@ The dashboard shown is from dashboard_ui.py with real-time database data.
|
||||
from fastapi import FastAPI
|
||||
|
||||
from nicegui import app, ui
|
||||
from dashboard_ui import create_dashboard
|
||||
|
||||
try:
|
||||
from .dashboard_ui import create_dashboard
|
||||
except ImportError:
|
||||
from dashboard_ui import create_dashboard
|
||||
|
||||
|
||||
def init(fastapi_app: FastAPI, storage_secret: str = 'Secr2t!') -> None:
|
||||
|
||||
Reference in New Issue
Block a user