mirror of https://github.com/logseq/logseq
enhancement: use ":push false" when redirecting to a
new page on rename to avoid having the old page in the history.pull/2515/head
parent
31c6b41ad0
commit
4402a32cd4
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Logseq",
|
||||
"version": "0.2.10",
|
||||
"version": "0.3.0",
|
||||
"main": "electron.js",
|
||||
"author": "Logseq",
|
||||
"description": "A privacy-first, open-source platform for knowledge management and collaboration.",
|
||||
|
|
|
@ -405,6 +405,7 @@
|
|||
|
||||
;; Redirect to the new page
|
||||
(route-handler/redirect! {:to :page
|
||||
:push false
|
||||
:path-params {:name (string/lower-case new-name)}})
|
||||
|
||||
(notification/show! "Page renamed successfully!" :success)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
(ns frontend.version)
|
||||
|
||||
(defonce version "0.2.10")
|
||||
(defonce version "0.3.0")
|
||||
|
|
Loading…
Reference in New Issue