Skip to content

Commit 94b2cc9

Browse files
authored
Beta.9 - Develop to Master (#1456)
* Fixes for missing default behaviour (#1455) --------- Co-authored-by: lrljoe <[email protected]>
1 parent 6427cb5 commit 94b2cc9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

resources/views/components/table/td.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
@endif
1414
{{
1515
$attributes->merge($customAttributes)
16-
->class(['px-6 py-4 whitespace-nowrap text-sm font-medium dark:text-white' => $component->isTailwind() && $customAttributes['default'] ?? true])
16+
->class(['px-6 py-4 whitespace-nowrap text-sm font-medium dark:text-white' => $component->isTailwind() && ($customAttributes['default'] ?? true)])
1717
->class(['hidden' => $component->isTailwind() && $column && $column->shouldCollapseAlways()])
1818
->class(['hidden sm:table-cell' => $component->isTailwind() && $column && $column->shouldCollapseOnMobile()])
1919
->class(['hidden md:table-cell' => $component->isTailwind() && $column && $column->shouldCollapseOnTablet()])
20-
->class(['' => $component->isBootstrap() && $customAttributes['default'] ?? true])
20+
->class(['' => $component->isBootstrap() && ($customAttributes['default'] ?? true)])
2121
->class(['d-none' => $component->isBootstrap() && $column && $column->shouldCollapseAlways()])
2222
->class(['d-none d-sm-table-cell' => $component->isBootstrap() && $column && $column->shouldCollapseOnMobile()])
2323
->class(['d-none d-md-table-cell' => $component->isBootstrap() && $column && $column->shouldCollapseOnTablet()])

resources/views/components/tools/filter-label.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
{{
1414
$attributes->merge($customLabelAttributes)
15-
->class(['block text-sm font-medium leading-5 text-gray-700 dark:text-white' => $isTailwind && $customLabelAttributes['default'] ?? true])
16-
->class(['d-block' => $isBootstrap && $filterLayout == 'slide-down' && $customLabelAttributes['default'] ?? true])
17-
->class(['mb-2' => $isBootstrap && $filterLayout == 'popover' && $customLabelAttributes['default'] ?? true])
15+
->class(['block text-sm font-medium leading-5 text-gray-700 dark:text-white' => $isTailwind && ($customLabelAttributes['default'] ?? true)])
16+
->class(['d-block' => $isBootstrap && $filterLayout == 'slide-down' && ($customLabelAttributes['default'] ?? true)])
17+
->class(['mb-2' => $isBootstrap && $filterLayout == 'popover' && ($customLabelAttributes['default'] ?? true)])
1818
->except('default')
1919
}}
2020

0 commit comments

Comments
 (0)