-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix spatial coverage not saved #577
Conversation
✅ Deploy Preview for ecospheres ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for meteo-france ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ferais plutôt @update:spatial-coverage-model="onUpdateSpatialCoverage"
dans BouquetForm
sur <SelectSpatialCoverage>
(cf BouquetSearch
).
La couverture n'est pas pré-remplie quand on clique sur "éditer". J'ai résolu le problème autrement mais ce que tu as fait me semble propre à part ça. // bouquetForm.vue
// ligne 84
const onValidSubmit = async (validatedValues: {
[...]
topic.value.extras[topicsExtrasKey].subtheme = validatedValues.subtheme
+ onUpdateSpatialCoverage(spatialCoverage.value)
// sync valid status with parent
emits('updateValidation', true)
}
// ligne 247
- <SelectSpatialCoverage v-model="spatialCoverage" @update:model-value="onUpdateSpatialCoverage"/>
+ <SelectSpatialCoverage v-model:spatial-coverage-model="spatialCoverage" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testé PO ok
Fix ecolabdata/ecospheres#461