Upgrade to 3.0.2
This commit is contained in:
@@ -67,6 +67,12 @@ return [
|
||||
|
||||
return $status;
|
||||
},
|
||||
/**
|
||||
* Filters the list by templates and sets template options when adding new pages to the section.
|
||||
*/
|
||||
'templates' => function ($templates = null) {
|
||||
return A::wrap($templates ?? $this->template);
|
||||
},
|
||||
/**
|
||||
* Setup for the main text in the list or cards. By default this will display the page title.
|
||||
*/
|
||||
@@ -78,9 +84,6 @@ return [
|
||||
'dragTextType' => function () {
|
||||
return option('panel.kirbytext', true) ? 'kirbytext' : 'markdown';
|
||||
},
|
||||
'templates' => function () {
|
||||
return A::wrap($this->templates ?? $this->template);
|
||||
},
|
||||
'parent' => function () {
|
||||
return $this->parentModel();
|
||||
},
|
||||
|
Reference in New Issue
Block a user