From e982ddd9a95611a976a859eb64961d826287135b Mon Sep 17 00:00:00 2001 From: Rustem Date: Mon, 10 Mar 2025 22:18:20 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B0=D0=BF=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/auto/app.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/auto/app.json b/modules/auto/app.json index 3fcdef2..2c9c6b9 100644 --- a/modules/auto/app.json +++ b/modules/auto/app.json @@ -1,8 +1,7 @@ { "module": "pipicar", "name": "pipicar.auto", - "type": "custom", - "class": "App.components.show", + "type": "crud", "title": "Автомобили", "withHeader": false, "data": { @@ -156,7 +155,7 @@ "ui": { "grid": { "title": "Автомобили", - "component": "App.components.grid", + "component": "App.components.Grid", "cols": [ { "name": "code", @@ -227,7 +226,6 @@ "add": { "title": "Добавление автомобиля", "template": "app.base.crud.form", - "component": "App.components.show", "form": { "submits": "struct:crud.form.edit.submits", "rows": [ @@ -312,7 +310,7 @@ "edit": { "title": "Редактирование автомобиля", "template": "app.base.crud.form", - "component": "App.components.show", + "component": "App.components.Show", "form": { "rows": [ {