Skip to content

Commit

Permalink
Update the logic to be more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jan 4, 2024
1 parent e9bfdc9 commit ebd3293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/internals/datastore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ export async function saveLastActiveView(
last_updated_callback_id: callback_id,
last_updated_at,
};
if (!is_active_view_refresher) {
if (is_active_view_refresher === undefined || !is_active_view_refresher) {
attributes = { ...attributes, last_accessed_at: last_updated_at };
}
await av.save({ attributes });
Expand Down

0 comments on commit ebd3293

Please sign in to comment.