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:
parent
163a788b17
commit
c855c38f9a
2 changed files with 12 additions and 6 deletions
changelog/entries/unreleased/bug
web-frontend/modules/builder/pages
|
@ -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"
|
||||
}
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue