Completed
Push — master ( 40da2a...c410a1 )
by Jonathan
27:28 queued 12:46
created
app/Widgets/SummaryFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         return view('uccello::widgets.summary_fields', [
25 25
             'config' => $this->config,
26
-            'label' => $this->config['data']->label ?? $this->config['labelForTranslation'],
26
+            'label' => $this->config[ 'data' ]->label ?? $this->config[ 'labelForTranslation' ],
27 27
         ]);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
resources/views/widgets/summary_fields.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
             <div class="body">
17 17
                 <div class="row display-flex">
18 18
                     <?php
19
-                        $record = $config['record'];
20
-                        $data = $config['data'];
19
+                        $record = $config[ 'record' ];
20
+                        $data = $config[ 'data' ];
21 21
                     ?>
22 22
                     @if (!empty($data) && is_array($data->fields))
23 23
                         @foreach ($data->fields as $fieldName)
Please login to merge, or discard this patch.