diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs index 25fe82178..2026fa07d 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs @@ -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 diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 7e4700bf3..39535f9a6 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -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" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index b959980c7..b7c203e98 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -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"