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 4ba05f6 commit 820b2f0Copy full SHA for 820b2f0
deps/outliner/src/logseq/outliner/page.cljs
@@ -261,8 +261,8 @@
261
:outliner-op :save-block}]
262
(when (and class?
263
(not (ldb/class? existing-page))
264
- (or (ldb/property? existing-page) (ldb/internal-page? existing-page)))
265
- ;; Convert existing user property or page to class
+ (ldb/internal-page? existing-page))
+ ;; Convert existing page to class
266
(let [tx-data [(merge (db-class/build-new-class db (select-keys existing-page [:block/title :block/uuid :block/created-at]))
267
(select-keys existing-page [:db/ident]))
268
[:db/retract [:block/uuid (:block/uuid existing-page)] :block/tags :logseq.class/Page]]]
0 commit comments