File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 1.1.1 (2024-05-07)
3+ ## 1.1.2 (2024-05-07)
44
55- Statamic 5 support
66
7+ ## 1.1.1 (2024-02-05)
8+
9+ * [ fix] Type error when variants config is null by @caseydwyer in https://github.com/jacksleight/statamic-miniset/pull/7
10+
711## 1.1.0 (2024-02-02)
812
913* [ new] Allow HTML in buttons/tabs by @caseydwyer in https://github.com/jacksleight/statamic-miniset/pull/5
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public function preload()
135135 'existing ' => collect ($ this ->field ->value ())->mapWithKeys (function ($ group ) {
136136 return [$ group ['_id ' ] => $ this ->fields ()->addValues ($ group )->meta ()];
137137 })->toArray (),
138- 'variant_indexes ' => array_flip (array_keys ($ this ->config ('variants ' ))),
138+ 'variant_indexes ' => array_flip (array_keys ($ this ->config ('variants ' ) ?? [] )),
139139 ];
140140 }
141141
You can’t perform that action at this time.
0 commit comments