button fix, kernel update

This commit is contained in:
Билай Станислав 2024-12-19 12:55:33 +03:00
parent e75d21bd1b
commit 483fe35561

View File

@ -25,7 +25,7 @@ $table->columns([
]); ]);
$table->beforePrint(function () { $table->beforePrint(function () {
$btn = PrimaryBtn::create("Добавить модуль", "/admin/module_shop/module/create", width: '200px')->fetch(); $btn = PrimaryBtn::create("Добавить модуль", "/admin/module_shop/module/create", width: '200px')->fetch();
$btn .= PrimaryBtn::create("Добавить ядро", "/admin/module_shop/kernel/create", '400px')->fetch(); $btn .= PrimaryBtn::create("Добавить ядро", "/admin/module_shop/kernel/create", '200px')->fetch();
return $btn; return $btn;
}); });
$table->addAction(ViewActionColumn::class); $table->addAction(ViewActionColumn::class);