luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
812 stars 207 forks source link

missing edit if config has only cfgs (CMS Admin) #1835

Closed rainerCH closed 6 years ago

rainerCH commented 6 years ago

What steps will reproduce the problem?

public function config() { return [ 'placeholders' => [ [ ['var' => 'col_1', 'cols' => 6, 'label' => ''], ['var' => 'col_2', 'cols' => 6, 'label' => ''] ] ], 'cfgs' => [ ['var' => 'assetId', 'label' => 'Asset ID', 'type' => self::TYPE_TEXT], ] ]; }

What is the expected result?

nadar commented 6 years ago

Just saw this was reported already today in cms module repo. https://github.com/luyadev/luya-module-cms/issues/121

nadar commented 6 years ago

@rainerCH should be fixed in latest dev-master