refactor(launcher): standardize helper names and apply batch formatting
- Renamed internal 'preventDefault' to 'prevent_default' in launcher files. - Fixed native 'event.preventDefault()' call in launcher_file_cont.svelte. - Applied batch formatting (printWidth: 80) across the (launcher) module.
This commit is contained in:
@@ -89,17 +89,21 @@
|
||||
{#each $lq__event_file_obj_li as event_file_obj, index}
|
||||
<li
|
||||
class="flex flex-col md:flex-row flex-wrap gap-1 items-center justify-start"
|
||||
class:hidden={!$events_loc.launcher.show_content__hidden_files &&
|
||||
event_file_obj.hide}
|
||||
class:hidden={!$events_loc.launcher
|
||||
.show_content__hidden_files && event_file_obj.hide}
|
||||
>
|
||||
<Event_launcher_file_cont
|
||||
event_file_id={event_file_obj.event_file_id}
|
||||
{event_file_obj}
|
||||
hide_created_on={false}
|
||||
bind:hide_draft={$events_loc.launcher.hide_content__draft_files}
|
||||
bind:hide_draft={
|
||||
$events_loc.launcher.hide_content__draft_files
|
||||
}
|
||||
show_bak_download={$ae_loc.trusted_access}
|
||||
session_type={event_file_obj?.event_session_type_code ?? 'oral'}
|
||||
open_method={event_file_obj?.event_session_type_code == 'poster'
|
||||
session_type={event_file_obj?.event_session_type_code ??
|
||||
'oral'}
|
||||
open_method={event_file_obj?.event_session_type_code ==
|
||||
'poster'
|
||||
? 'modal'
|
||||
: null}
|
||||
modal_title={lq__event_presenter_obj?.event_presentation_name}
|
||||
@@ -107,7 +111,9 @@
|
||||
bind:modal__open_event_file_id={
|
||||
$events_sess.launcher.modal__open_event_file_id
|
||||
}
|
||||
bind:modal__event_file_obj={$events_sess.launcher.modal__event_file_obj}
|
||||
bind:modal__event_file_obj={
|
||||
$events_sess.launcher.modal__event_file_obj
|
||||
}
|
||||
/>
|
||||
</li>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user