🎉 Add flex layout playground template to the dashboard carousel

This commit is contained in:
Andrey Antukh 2023-07-28 12:53:28 +02:00
parent 6eaa905f0c
commit f174264f7f
5 changed files with 8 additions and 14 deletions

View file

@ -423,9 +423,9 @@
{::doc/added "1.10"
::doc/deprecated "1.19"}
[cfg _params]
(mapv #(select-keys % [:id :name :thumbnail-uri]) (::setup/templates cfg)))
(mapv #(select-keys % [:id :name]) (::setup/templates cfg)))
(sv/defmethod ::get-builtin-templates
{::doc/added "1.19"}
[cfg _params]
(mapv #(select-keys % [:id :name :thumbnail-uri]) (::setup/templates cfg)))
(mapv #(select-keys % [:id :name]) (::setup/templates cfg)))

View file

@ -23,7 +23,6 @@
[:map {:title "Template"}
[:id ::sm/word-string]
[:name ::sm/word-string]
[:thumbnail-uri ::sm/word-string]
[:file-uri ::sm/word-string]])
(def ^:private schema:templates