mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
fix M2O field deletion (#11538)
* fix M2O field deletion * fix lint * fix for MySQL * Pull final dropColumn out of transaction * Forget that, check for existing constraint before deleting it instead * Fix lint warning in unrelated file Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -126,8 +126,8 @@ export default function useLink(editor: Ref<any>): UsableLink {
|
||||
editor.value.selection.select(linkNode.value);
|
||||
editor.value.selection.setNode(linkNode.value);
|
||||
}
|
||||
|
||||
editor.value.undoManager.add();
|
||||
|
||||
editor.value.undoManager.add();
|
||||
closeLinkDrawer();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user