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": [ {