Working on sign in checking and permissions. This probably still needs to be reviewed some more.
This commit is contained in:
@@ -47,7 +47,7 @@ let events_local_data_struct: key_val = {
|
||||
// 'LNDF-67-89-92': true
|
||||
},
|
||||
session: {
|
||||
// 'LNDF-67-89-92': true
|
||||
// 'LNDF-67-89-92': true, false, 'read', 'write'
|
||||
},
|
||||
presentation: {
|
||||
// 'LNDF-67-89-92': true
|
||||
|
||||
@@ -44,7 +44,8 @@ ae_tmp.show__direct_download = false;
|
||||
|
||||
onMount(() => {
|
||||
// console.log('Element - Manage Event File List');
|
||||
// console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
||||
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
||||
console.log(`allow_basic: ${allow_basic}; allow_moderator: ${allow_moderator}`);
|
||||
|
||||
// $slct_trigger = 'load__event_file_obj_li';
|
||||
});
|
||||
|
||||
@@ -54,6 +54,11 @@ onMount(() => {
|
||||
</script>
|
||||
|
||||
|
||||
{#await lq__event_file_obj_li}
|
||||
|
||||
<p>Loading...</p>
|
||||
|
||||
{:then lq__event_file_obj_li}
|
||||
<Element_manage_event_file_li
|
||||
link_to_type={link_to_type}
|
||||
link_to_id={link_to_id}
|
||||
@@ -63,3 +68,6 @@ onMount(() => {
|
||||
container_class_li={container_class_li}
|
||||
display_mode={display_mode}
|
||||
/>
|
||||
{:catch error}
|
||||
<p style="color: red;">{error.message}</p>
|
||||
{/await}
|
||||
|
||||
Reference in New Issue
Block a user