mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
fix preset resetting itself (#16473)
This commit is contained in:
@@ -94,7 +94,9 @@ export function usePreset(
|
||||
|
||||
// update current bookmark title when it is edited in navigation-bookmark
|
||||
presetsStore.$subscribe(() => {
|
||||
initLocalPreset();
|
||||
if (!bookmarkExists.value) return;
|
||||
const newBookmark = presetsStore.getBookmark(Number(bookmark.value));
|
||||
localPreset.value.bookmark = newBookmark?.bookmark;
|
||||
});
|
||||
|
||||
const layoutOptions = computed<Record<string, any>>({
|
||||
|
||||
Reference in New Issue
Block a user