File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
lib/generators/css_zero/add/templates/app/javascript/controllers Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919- Set default --btn-block-size --input-block-size to auto
2020- Set .gap-half column-gap: 0.25rem
2121- Set default cursor for accordion/button/datepicker/switch
22+ - Small fix check_all_controller
2223- ** Add sidebar_menu.css to layouts component**
2324- ** Add flash--positive and flash--negative**
2425- ** Add turbo_confirm component**
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ export default class extends Controller {
2525 }
2626
2727 get #atLeastOneChecked( ) {
28- return this . dependantTargets . some ( it => it . checked )
28+ return this . hasDependantTarget && this . dependantTargets . some ( it => it . checked )
2929 }
3030
3131 get #allChecked( ) {
32- return this . dependantTargets . every ( it => it . checked )
32+ return this . hasDependantTarget && this . dependantTargets . every ( it => it . checked )
3333 }
3434}
You can’t perform that action at this time.
0 commit comments