From d5398d63041ea3edfed1d630b7eef079a1d3d226 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 14 Jun 2019 18:35:06 +0200 Subject: [PATCH] #2810 --- app/Models/Specification.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Models/Specification.php b/app/Models/Specification.php index d1317f4..42a6f26 100644 --- a/app/Models/Specification.php +++ b/app/Models/Specification.php @@ -37,10 +37,9 @@ class Specification extends CubistMagicModel 'label' => 'Options', 'type' => 'Table', 'entity_singular' => 'option', - 'columns' => [ - 'name' => 'Name', - ], + 'columns' => config('backpack.crud.locales'), 'when' => ['type' => 'list'], + 'translatable' => false, ]); $this->addField(['name' => 'prefix', @@ -62,7 +61,7 @@ class Specification extends CubistMagicModel 'type' => 'Text', 'when' => ['type' => ['numeric', 'range', 'numeric_list']], 'translatable' => false, - 'column'=>true, + 'column' => true, ]); } } -- 2.39.5