Skip to content

Commit 66a868e

Browse files
author
Simon L. Lange
committed
Merge branch 'develop' of github.com:OS2web/os2web8 into develop
2 parents 5177deb + 77949b3 commit 66a868e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/themes/custom/fds_redwhite_theme/fds_redwhite_theme.theme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,14 @@ function fds_redwhite_theme_preprocess_office_hours(&$variables) {
254254
foreach ($office_hours as $info) {
255255
$label = $info['label'];
256256
$label_length = max($label_length, mb_strlen($label));
257-
258257
$items[] = [
259258
'label' => $label,
260259
'slots' => ['#type' => 'markup', '#markup' => $info['formatted_slots']],
261260
'comments' => ['#type' => 'markup', '#markup' => $info['comments']],
262261
'suffix' => $variables['item_separator'],
263262
// Is open indicator.
264-
'is_open' => $info['closed'] == null,
263+
// 'is_open' => ($info['closed'] == null)
264+
'is_open' => true,
265265
// @todo Use $variables['item_separator'] in office-hours.html.twig.
266266
];
267267
}

0 commit comments

Comments
 (0)