💄 Remove ununsed prop on fill-menu component

This commit is contained in:
Belén Albeza 2025-05-23 14:52:36 +02:00
parent e4a1c373bb
commit 827d39a406
3 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@
(mf/defc fill-menu
{::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
:multiple (tr "workspace.options.selection-fill")
:group (tr "workspace.options.group-fill")
@ -146,7 +146,7 @@
:title label
: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"
:aria-label (tr "workspace.options.fill.add-fill")
:on-click on-add

View file

@ -5608,7 +5608,7 @@ msgstr "Fill"
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:151
msgid "workspace.options.fill.add-fill"
msgstr "Add fill color"
msgstr "Add fill"
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:164
msgid "workspace.options.fill.remove-fill"

View file

@ -5642,7 +5642,7 @@ msgstr "Relleno"
#: src/app/main/ui/workspace/sidebar/options/menus/fill.cljs:151
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
msgid "workspace.options.fill.remove-fill"