We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ee49f commit aa2ad76Copy full SHA for aa2ad76
src/main/frontend/components/views.cljs
@@ -716,9 +716,9 @@
716
:class-objects
717
(when (seq page-ids)
718
(when-not (= :logseq.class/Page (:db/ident view-parent))
719
- (let [tx-data (map (fn [pid] [:db/retract pid :block/tags (:db/id view-parent)]) page-ids)]
720
- (when (seq tx-data)
721
- (outliner-op/transact! tx-data {:outliner-op :save-block})))))
+ (doseq [page pages]
+ (when-let [id (:block/uuid page)]
+ (outliner-op/delete-page! id)))))
722
723
:property-objects
724
;; Relationships with built-in properties must not be deleted e.g. built-in? or parent
0 commit comments