Skip to content

Commit 8e8f3b7

Browse files
committed
fix defining column key fluently
1 parent ffbadcd commit 8e8f3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Library/CrudPanel/CrudColumn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function key(string $key)
8989
}
9090

9191
$this->attributes = $column;
92-
$this->setOperationSetting('columns', array_merge($columns, [$key => $column]));
92+
$this->crud()->setOperationSetting('columns', array_merge($columns, [$key => $column]));
9393

9494
return $this;
9595
}

0 commit comments

Comments
 (0)