Working on bug fix for sign in vs the selected presentation and presenter. Partially fixed.
This commit is contained in:
@@ -378,6 +378,9 @@ let events_slct_obj_template: key_val = {
|
||||
'event_session_obj': {},
|
||||
|
||||
'lq__presenter_obj': {}, // Testing passing a LiveQuery object around...
|
||||
|
||||
'auth__event_presenter_id': null,
|
||||
'auth__event_presentation_id': null,
|
||||
};
|
||||
// console.log(`AE Stores - Selected Events Objects:`, events_slct_obj_template);
|
||||
|
||||
|
||||
@@ -57,6 +57,10 @@ let lq__event_presentation_obj = liveQuery(
|
||||
() => db_events.presentations.get($events_slct.event_presentation_id)
|
||||
);
|
||||
|
||||
let lq__auth__event_presenter_obj = liveQuery(
|
||||
() => db_events.presenters.get($events_slct.auth__event_presenter_id)
|
||||
);
|
||||
|
||||
let lq__event_presenter_obj = liveQuery(
|
||||
() => db_events.presenters.get($events_slct.event_presenter_id)
|
||||
);
|
||||
|
||||
@@ -38,8 +38,8 @@ if (browser) {
|
||||
|
||||
// We need to set the selected presentation and presenter objects based on the respective IDs.
|
||||
if (url_presentation_id && url_presenter_id) {
|
||||
$events_slct.event_presentation_id = url_presentation_id;
|
||||
$events_slct.event_presenter_id = url_presenter_id;
|
||||
$events_slct.auth__event_presentation_id = url_presentation_id;
|
||||
$events_slct.auth__event_presenter_id = url_presenter_id;
|
||||
}
|
||||
|
||||
console.log('Remove the passcode from the URL.');
|
||||
@@ -103,8 +103,8 @@ function presenter_sign_in() {
|
||||
$events_loc.auth__kv.presenter[$events_sess.auth__person.presenter_id] = true;
|
||||
|
||||
// Setting again here... just because for now.
|
||||
$events_slct.event_presentation_id = $events_sess.auth__person.presentation_id;
|
||||
$events_slct.event_presenter_id = $events_sess.auth__person.presenter_id;
|
||||
$events_slct.auth__event_presentation_id = $events_sess.auth__person.presentation_id;
|
||||
$events_slct.auth__event_presenter_id = $events_sess.auth__person.presenter_id;
|
||||
}
|
||||
|
||||
function sign_out() {
|
||||
|
||||
Reference in New Issue
Block a user