feat: delete in whiteboard dashboard

This commit is contained in:
Peng Xiao
2022-09-17 18:09:27 +08:00
parent f933cca5ad
commit ad7de948ca
3 changed files with 66 additions and 11 deletions

View File

@@ -39,6 +39,10 @@
[]
(redirect! {:to :repos}))
(defn redirect-to-whiteboard-dashboard!
[]
(redirect! {:to :whiteboards}))
(defn redirect-to-page!
"Must ensure `page-name` is dereferenced (not an alias), or it will create a wrong new page with that name (#3511)."
([page-name]