From 613d45e36c0c71563fdc410f387d8b4efff40f9e Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Wed, 20 Nov 2024 16:21:41 +0300 Subject: [PATCH] status --- app/main.py | 2 +- front/pages/deal.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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: 'Название'