mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
Merge branch 'iop-vc-selective-merge' into iop-vc-preview
This commit is contained in:
commit
9e396c1feb
@ -412,7 +412,7 @@
|
||||
(let [excluded (or excluded #{})
|
||||
include? (if (some? include?)
|
||||
include?
|
||||
(not (every? excluded change-keys)))]
|
||||
(every? excluded change-keys))]
|
||||
(if include?
|
||||
(apply disj excluded change-keys)
|
||||
(into excluded change-keys)))))))))
|
||||
|
||||
@ -187,7 +187,8 @@
|
||||
(t/testing "the other direction starts the selection over"
|
||||
(ptk/emit! store (dwb/fetch-branch-diff (:id branch) :main->branch))
|
||||
(t/is (= #{} (get-in @store [:workspace-branch-diff :excluded]))))
|
||||
(rx/dispose! store)))
|
||||
(rx/dispose! store))
|
||||
(done'))
|
||||
done))))
|
||||
|
||||
(t/deftest the-selection-travels-with-the-merge-and-update-calls
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user