mirror of
https://github.com/penpot/penpot.git
synced 2025-06-24 13:17:00 +02:00
💄 Remove ununsed prop on fill-menu component
This commit is contained in:
parent
e4a1c373bb
commit
827d39a406
3 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
(mf/defc fill-menu
|
(mf/defc fill-menu
|
||||||
{::mf/wrap [#(mf/memo' % (mf/check-props ["ids" "values"]))]}
|
{::mf/wrap [#(mf/memo' % (mf/check-props ["ids" "values"]))]}
|
||||||
[{:keys [ids type values disable-remove?] :as props}]
|
[{:keys [ids type values] :as props}]
|
||||||
(let [label (case type
|
(let [label (case type
|
||||||
:multiple (tr "workspace.options.selection-fill")
|
:multiple (tr "workspace.options.selection-fill")
|
||||||
:group (tr "workspace.options.group-fill")
|
:group (tr "workspace.options.group-fill")
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
:title label
|
:title label
|
||||||
:class (stl/css-case :title-spacing-fill (not has-fills?))}
|
:class (stl/css-case :title-spacing-fill (not has-fills?))}
|
||||||
|
|
||||||
(when (and (not disable-remove?) (not (= :multiple fills)))
|
(when (not (= :multiple fills))
|
||||||
[:> icon-button* {:variant "ghost"
|
[:> icon-button* {:variant "ghost"
|
||||||
:aria-label (tr "workspace.options.fill.add-fill")
|
:aria-label (tr "workspace.options.fill.add-fill")
|
||||||
:on-click on-add
|
:on-click on-add
|
||||||
|
|
|
@ -5608,7 +5608,7 @@ msgstr "Fill"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:151
|
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:151
|
||||||
msgid "workspace.options.fill.add-fill"
|
msgid "workspace.options.fill.add-fill"
|
||||||
msgstr "Add fill color"
|
msgstr "Add fill"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:164
|
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:164
|
||||||
msgid "workspace.options.fill.remove-fill"
|
msgid "workspace.options.fill.remove-fill"
|
||||||
|
|
|
@ -5642,7 +5642,7 @@ msgstr "Relleno"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:151
|
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:151
|
||||||
msgid "workspace.options.fill.add-fill"
|
msgid "workspace.options.fill.add-fill"
|
||||||
msgstr "Añadir color de relleno"
|
msgstr "Añadir relleno"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:164
|
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:164
|
||||||
msgid "workspace.options.fill.remove-fill"
|
msgid "workspace.options.fill.remove-fill"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue