1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-15 01:28:30 +00:00

Fix bug when creating a builder after deleting another one

This commit is contained in:
Jeremie Pardou 2025-02-24 13:37:09 +01:00
parent 163a788b17
commit c855c38f9a
2 changed files with 12 additions and 6 deletions
changelog/entries/unreleased/bug
web-frontend/modules/builder/pages

View file

@ -0,0 +1,7 @@
{
"type": "bug",
"message": "[Builder] Fix crash when creating a builder application after deleting another one",
"issue_number": null,
"bullet_points": [],
"created_at": "2025-02-24"
}

View file

@ -80,13 +80,12 @@ export default {
parseInt(from.params.builderId)
)
// Unselect previously selected element
this.$store.dispatch('element/select', {
builder,
element: null,
})
if (builder) {
// Unselect previously selected element
this.$store.dispatch('element/select', {
builder,
element: null,
})
// We want to reload once only data for this builder next time
this.$store.dispatch('application/forceUpdate', {
application: builder,