Fix group detail collapse on save and stay action (#23099)

* 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 <rijkvanzanten@me.com>
This commit is contained in:
SP12893678
2024-07-27 00:48:40 +08:00
committed by GitHub
parent f2930e6ebd
commit 71236927d2
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': patch
---
Fixed an issue that would cause detail groups to be collapsed on save and stay

View File

@@ -43,6 +43,7 @@ watch(
(newVal) => {
if (!newVal) detailOpen.value = props.start === 'open';
},
{ once: true },
);
const edited = computed(() => {