mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 13:26:40 +02:00
💄 Minor cosmetic changes on project and file naming.
This commit is contained in:
parent
43d60e238a
commit
b441ffc20f
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@
|
||||||
(ptk/reify ::create-project
|
(ptk/reify ::create-project
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [this state stream]
|
(watch [this state stream]
|
||||||
(let [name (str "Project Name " (gensym "p"))]
|
(let [name (str "New Project " (gensym "p"))]
|
||||||
(->> (rp/mutation! :create-project {:name name})
|
(->> (rp/mutation! :create-project {:name name})
|
||||||
(rx/map (fn [data]
|
(rx/map (fn [data]
|
||||||
(projects-fetched [data]))))))))
|
(projects-fetched [data]))))))))
|
||||||
|
@ -199,7 +199,7 @@
|
||||||
(ptk/reify ::create-file
|
(ptk/reify ::create-file
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [this state stream]
|
(watch [this state stream]
|
||||||
(let [name (str "File Name " (gensym "p"))
|
(let [name (str "New File " (gensym "p"))
|
||||||
params {:name name :project-id project-id}]
|
params {:name name :project-id project-id}]
|
||||||
(->> (rp/mutation! :create-project-file params)
|
(->> (rp/mutation! :create-project-file params)
|
||||||
(rx/mapcat
|
(rx/mapcat
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue