mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
✨ Prevent warning of button inside button on dashboard
This commit is contained in:
parent
d6da8afdce
commit
ee533e2644
3 changed files with 6 additions and 4 deletions
|
@ -109,9 +109,9 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
yarn install
|
yarn install
|
||||||
yarn run build:app:assets
|
yarn run build:app:assets
|
||||||
clojure -M:dev:shadow-cljs release main
|
yarn run build:app
|
||||||
yarn playwright install --with-deps chromium
|
yarn run playwright install --with-deps chromium
|
||||||
yarn test:e2e
|
yarn run test:e2e
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: "backend tests"
|
name: "backend tests"
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
"build:storybook:assets": "node ./scripts/build-storybook-assets.js",
|
"build:storybook:assets": "node ./scripts/build-storybook-assets.js",
|
||||||
"build:storybook:cljs": "clojure -M:dev:shadow-cljs compile storybook",
|
"build:storybook:cljs": "clojure -M:dev:shadow-cljs compile storybook",
|
||||||
"build:renderer": "yarn run wasm-pack build ./renderer --target web --out-dir ../resources/public/js/renderer --release",
|
"build:renderer": "yarn run wasm-pack build ./renderer --target web --out-dir ../resources/public/js/renderer --release",
|
||||||
|
"build:app": "clojure -M:dev:shadow-cljs release main",
|
||||||
"e2e:server": "node ./scripts/e2e-server.js",
|
"e2e:server": "node ./scripts/e2e-server.js",
|
||||||
"fmt:clj": "cljfmt fix --parallel=true src/ test/",
|
"fmt:clj": "cljfmt fix --parallel=true src/ test/",
|
||||||
"fmt:clj:check": "cljfmt check --parallel=false src/ test/",
|
"fmt:clj:check": "cljfmt check --parallel=false src/ test/",
|
||||||
|
|
|
@ -355,9 +355,10 @@
|
||||||
)))]
|
)))]
|
||||||
|
|
||||||
[:li {:class (stl/css-case :grid-item true :project-th true :library library-view?)}
|
[:li {:class (stl/css-case :grid-item true :project-th true :library library-view?)}
|
||||||
[:button
|
[:div
|
||||||
{:class (stl/css-case :selected selected? :library library-view?)
|
{:class (stl/css-case :selected selected? :library library-view?)
|
||||||
:ref node-ref
|
:ref node-ref
|
||||||
|
:role "button"
|
||||||
:title (:name file)
|
:title (:name file)
|
||||||
:draggable (dm/str can-edit)
|
:draggable (dm/str can-edit)
|
||||||
:on-click on-select
|
:on-click on-select
|
||||||
|
|
Loading…
Add table
Reference in a new issue