🎉 Allow to show master component in assets panel

This commit is contained in:
Andrés Moya 2020-11-03 11:11:16 +01:00 committed by Alonso Torres
parent 02207dedf3
commit d847c607e3
8 changed files with 92 additions and 38 deletions

View file

@ -149,10 +149,12 @@
:workspace
(let [project-id (uuid (get-in route [:params :path :project-id]))
file-id (uuid (get-in route [:params :path :file-id]))
page-id (uuid (get-in route [:params :query :page-id]))]
page-id (uuid (get-in route [:params :query :page-id]))
layout (get-in route [:params :query :layout])]
[:& workspace/workspace {:project-id project-id
:file-id file-id
:page-id page-id
:layout layout
:key file-id}])
:not-authorized