Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit d611cbe1 authored by Robin Tissot's avatar Robin Tissot

Merge branch 'fix-334' into 'develop'

Correctly initialize transcriptions attribute when creating a line transcription for the first time

Closes #334

See merge request !64
parents 76ded081 2ec8f766
......@@ -96,7 +96,14 @@ export const mutations = {
if (index < 0) return
state.all[index] = {
...state.all[index],
currentTrans: { ...state.all[index].currentTrans, pk: lineTrans.pk }
currentTrans: { ...state.all[index].currentTrans, pk: lineTrans.pk },
transcriptions: {
...state.all[index].transcriptions,
[lineTrans.transcription]: {
...state.all[index].transcriptions[lineTrans.transcription],
pk: lineTrans.pk
}
}
}
}
// Force reference update on the whole array
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment