0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Fix a bug in page reordering after page creation.

This commit is contained in:
Andrey Antukh 2017-03-21 11:14:34 +01:00
parent 4f76adcb72
commit cb5deda0ff
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
3 changed files with 2 additions and 4 deletions

View file

@ -217,7 +217,7 @@
ptk/WatchEvent
(watch [_ state stream]
(rx/of (reorder-pages (:id data)))))
(rx/of (reorder-pages (:project data)))))
(s/def ::page-created
(s/keys :req-un [::id

View file

@ -8,11 +8,11 @@
(ns uxbox.main.ui.dashboard.projects
(:require [lentes.core :as l]
[cuerdas.core :as str]
[uxbox.builtins.icons :as i]
[uxbox.main.store :as st]
[uxbox.main.constants :as c]
[uxbox.main.data.projects :as udp]
[uxbox.main.data.lightbox :as udl]
[uxbox.builtins.icons :as i]
[uxbox.main.ui.dashboard.header :refer [header]]
[uxbox.main.ui.dashboard.projects-createform]
[uxbox.main.ui.lightbox :as lbx]
@ -21,7 +21,6 @@
[uxbox.main.exports :as exports]
[uxbox.util.i18n :as t :refer (tr)]
[uxbox.util.router :as r]
[potok.core :as ptk]
[uxbox.util.data :refer [read-string]]
[uxbox.util.dom :as dom]
[uxbox.util.blob :as blob]

View file

@ -8,7 +8,6 @@
(ns uxbox.main.ui.workspace.sidebar.sitemap
(:require [lentes.core :as l]
[cuerdas.core :as str]
[potok.core :as ptk]
[uxbox.builtins.icons :as i]
[uxbox.main.store :as st]
[uxbox.main.refs :as refs]