Skip to content

Conversation

@luizhf42
Copy link
Member

@luizhf42 luizhf42 commented Sep 3, 2025

This pull request corrects the API call for deleting session logs and the behavior of the components when dealing with deleted logs.

  • Fixed the deleteSessionLogs function in sessions.ts to use the correct deleteSessionRecord API endpoint instead of the incorrect clsoeSession method.
  • Improved error handling in the displayDialog method in SessionPlay.vue to show an error message if session logs are missing or deleted, instead of opening the dialog with no logs.

@luizhf42 luizhf42 self-assigned this Sep 3, 2025
@luizhf42 luizhf42 added the kind/bug Something isn't working label Sep 3, 2025
@luizhf42 luizhf42 requested a review from a team as a code owner September 3, 2025 18:27
…ed logs

* previously, the player was opening and crashing
* now the component checks if logs is a string and,
if not, doesn't open the player, and shows an error snackbar.
@luizhf42 luizhf42 force-pushed the fix/delete-session-log branch from 35dbe3d to 7ef7f30 Compare September 3, 2025 18:32
@otavio otavio merged commit 090177c into master Sep 6, 2025
8 checks passed
@otavio otavio deleted the fix/delete-session-log branch September 6, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui kind/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants