diff --git a/app/main.py b/app/main.py index f2a67b1..9266bdf 100644 --- a/app/main.py +++ b/app/main.py @@ -248,7 +248,7 @@ async def deal_tab(request: Request, deal_id): return {"status": "error"} -# app.mount("/widget", StaticFiles(directory="front/dist", html=True), name="static") +app.mount("/widget", StaticFiles(directory="front/dist", html=True), name="static") NUXT_DIST = Path("front/dist") diff --git a/front/pages/deal.vue b/front/pages/deal.vue index b60a777..ea35aa1 100644 --- a/front/pages/deal.vue +++ b/front/pages/deal.vue @@ -47,7 +47,8 @@ const loadData = async (deal_id: number) => { const columns = [{ key: 'id', - label: 'ID' + label: 'ID', + sortable: true }, { key: 'title', label: 'Название'