From 198bc8f9a1cd42bbbf73389ed62d276018f8f483 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 27 Oct 2020 11:57:35 +0100 Subject: [PATCH] :bug: Fixed create file in project page. --- frontend/src/app/main/ui/dashboard/files.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard/files.cljs b/frontend/src/app/main/ui/dashboard/files.cljs index 8e6f77fbe..d87aa390a 100644 --- a/frontend/src/app/main/ui/dashboard/files.cljs +++ b/frontend/src/app/main/ui/dashboard/files.cljs @@ -63,7 +63,7 @@ (mf/deps project) (fn [event] (dom/prevent-default event) - (st/emit! (dd/create-file (:id project)))))] + (st/emit! (dd/create-file {:project-id (:id project)}))))] [:header.dashboard-header