fix: Enable toggling of insights while document is draft
This commit is contained in:
@@ -52,7 +52,7 @@ function DocumentPublish({ document }: Props) {
|
||||
}
|
||||
|
||||
document.collectionId = collectionId;
|
||||
await document.save({ publish: true });
|
||||
await document.save(undefined, { publish: true });
|
||||
|
||||
showToast(t("Document published"), {
|
||||
type: "success",
|
||||
|
||||
Reference in New Issue
Block a user