mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
✨ Remove "p" in new project and file names
This commit is contained in:
parent
c6c5cc4e14
commit
87fc2db78a
@ -246,7 +246,7 @@
|
|||||||
(ptk/reify ::create-project
|
(ptk/reify ::create-project
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state stream]
|
(watch [_ state stream]
|
||||||
(let [name (str "New Project " (gensym "p"))
|
(let [name (str "New Project " (gensym ""))
|
||||||
team-id (get-in state [:dashboard-local :team-id])]
|
team-id (get-in state [:dashboard-local :team-id])]
|
||||||
(->> (rp/mutation! :create-project {:name name :team-id team-id})
|
(->> (rp/mutation! :create-project {:name name :team-id team-id})
|
||||||
(rx/map project-created))))))
|
(rx/map project-created))))))
|
||||||
@ -348,7 +348,7 @@
|
|||||||
(ptk/reify ::create-file
|
(ptk/reify ::create-file
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state stream]
|
(watch [_ state stream]
|
||||||
(let [name (str "New File " (gensym "p"))
|
(let [name (str "New File " (gensym ""))
|
||||||
params {:name name :project-id project-id}]
|
params {:name name :project-id project-id}]
|
||||||
(->> (rp/mutation! :create-file params)
|
(->> (rp/mutation! :create-file params)
|
||||||
(rx/map file-created))))))
|
(rx/map file-created))))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user