enhancement: use ":push false" when redirecting to a

new page on rename to avoid having the old page in the
history.
pull/2515/head
Tienson Qin 2021-07-30 02:19:46 +08:00 committed by Julio
parent 31c6b41ad0
commit 4402a32cd4
3 changed files with 3 additions and 2 deletions

View File

@ -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.",

View File

@ -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)

View File

@ -1,3 +1,3 @@
(ns frontend.version)
(defonce version "0.2.10")
(defonce version "0.3.0")