@use super::base_html; @use super::components::close_shift_button_html; @use super::components::open_shift_button_html; @use cm_lib::models::Shift; @(open_shift: Option) @:base_html({
@if open_shift.is_none() { @:open_shift_button_html() } else { @:close_shift_button_html() }
})