Skip to content

Commit

Permalink
Fix group detail collapse on save and stay action (directus#23099)
Browse files Browse the repository at this point in the history
* Fix group detail collapse on save and stay action

* Fix format

* Use watch once setting instead of variable

* Add changeset

---------

Co-authored-by: Rijk van Zanten <[email protected]>
  • Loading branch information
SP12893678 and rijkvanzanten authored Jul 26, 2024
1 parent f2930e6 commit 7123692
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-pumas-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@directus/app': patch
---

Fixed an issue that would cause detail groups to be collapsed on save and stay
1 change: 1 addition & 0 deletions app/src/interfaces/group-detail/group-detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ watch(
(newVal) => {
if (!newVal) detailOpen.value = props.start === 'open';
},
{ once: true },
);
const edited = computed(() => {
Expand Down

0 comments on commit 7123692

Please sign in to comment.