Working on bug fix for sign in vs the selected presentation and presenter. Partially fixed.

This commit is contained in:
Scott Idem
2024-08-07 16:09:17 -04:00
parent 7aebf24996
commit 75ee8e1b5c
3 changed files with 11 additions and 4 deletions

View File

@@ -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)
);

View File

@@ -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() {