fix: Enable toggling of insights while document is draft
This commit is contained in:
@@ -159,7 +159,7 @@ export const publishDocument = createAction({
|
||||
}
|
||||
|
||||
if (document?.collectionId) {
|
||||
await document.save({
|
||||
await document.save(undefined, {
|
||||
publish: true,
|
||||
});
|
||||
stores.toasts.showToast(t("Document published"), {
|
||||
|
||||
Reference in New Issue
Block a user