We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3a928 commit df03ba9Copy full SHA for df03ba9
src/renderer/document/views.cljs
@@ -83,7 +83,7 @@
83
(concat [{:type :separator}
84
{:label "Open containing directory"
85
:action [::e/open-directory path]
86
- :disabled? (not (and path system/electron?))}]))))
+ :disabled? (nil? path)}]))))
87
88
(defn tab
89
[id title active?]
src/renderer/tree/views.cljs
@@ -74,9 +74,7 @@
74
75
(defn drop-handler!
76
[e parent-id]
77
- (let [id (-> (.-dataTransfer e)
78
- (.getData "id")
79
- uuid)]
+ (let [id (-> (.-dataTransfer e) (.getData "id") uuid)]
80
(.preventDefault e)
81
(rf/dispatch [::element.e/set-parent id parent-id])))
82
0 commit comments