felicia27 / anonymization-tool

Other
2 stars 0 forks source link

UI breaks on access to audio from the list if it hasn't finished processing audio in the backend #8

Open nitinsaroha opened 4 years ago

nitinsaroha commented 4 years ago

On audio upload, audio is sent to the Cloud Storage. It triggers Firebase function to process audio and generate transcription and store it back in the Firestore.

The list gets updated on the home page with new audio but If the Firebase function is not finished processing the audio and Front-end tries to render the data for that audio, it breaks.