Now with hide files from launcher working. event_file.hide
This commit is contained in:
@@ -31,11 +31,17 @@ export async function load({ params, parent }) { // route
|
||||
|
||||
ae_acct.slct.event_presenter_obj = await load_event_presenter_obj;
|
||||
|
||||
let ae_params = {
|
||||
qry__enabled: 'all',
|
||||
qry__hidden: 'all',
|
||||
qry__limit: 50
|
||||
}
|
||||
|
||||
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
|
||||
api_cfg: ae_acct.api,
|
||||
for_obj_type: 'event_presenter',
|
||||
for_obj_id: event_presenter_id,
|
||||
params: {enabled: 'all', qry__limit: 50},
|
||||
params: ae_params,
|
||||
try_cache: false
|
||||
})
|
||||
.then((event_file_obj_li) => {
|
||||
|
||||
@@ -1437,7 +1437,7 @@ WARNING: The file upload and management is a work in progress. You can upload an
|
||||
|
||||
</form>
|
||||
|
||||
<div class="overflow-x-auto w-full max-w-96 sm:max-w-fit">
|
||||
<div class="overflow-x-auto w-max max-w-full">
|
||||
<Element_manage_event_file_li
|
||||
link_to_type={'event_presenter'}
|
||||
link_to_id={$lq__event_presenter_obj.event_presenter_id_random}
|
||||
|
||||
@@ -329,10 +329,17 @@ $: if ($slct_trigger == 'load__event_file_obj_li') {
|
||||
|
||||
$slct_trigger = null;
|
||||
|
||||
let ae_params = {
|
||||
qry__enabled: 'all',
|
||||
qry__hidden: 'all',
|
||||
qry__limit: 50
|
||||
}
|
||||
|
||||
events_func.handle_load_ae_obj_li__event_file({
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'event_session',
|
||||
for_obj_id: $events_slct.event_session_id,
|
||||
params: ae_params,
|
||||
try_cache: false
|
||||
});
|
||||
}
|
||||
|
||||
@@ -68,11 +68,17 @@ export async function load({ params, parent }) { // route
|
||||
}
|
||||
ae_acct.slct.event_presentation_obj_li = load_event_presentation_obj_li;
|
||||
|
||||
let ae_params = {
|
||||
qry__enabled: 'all',
|
||||
qry__hidden: 'all',
|
||||
qry__limit: 50
|
||||
}
|
||||
|
||||
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
|
||||
api_cfg: ae_acct.api,
|
||||
for_obj_type: 'event_session',
|
||||
for_obj_id: event_session_id,
|
||||
params: {enabled: 'all', qry__limit: 50},
|
||||
params: ae_params,
|
||||
try_cache: false
|
||||
})
|
||||
.then((event_file_obj_li) => {
|
||||
|
||||
Reference in New Issue
Block a user