mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Remove default which are now correctly kept in the component
This commit is contained in:
@@ -33,10 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
|
||||
src: tree_src,
|
||||
include_sub_items_check_box_arguments: { hidden: true },
|
||||
filter_mode_control_arguments: logged? ? {} : { hidden: true },
|
||||
filter_input_arguments: { name: "filter",
|
||||
label: t(:label_filter),
|
||||
visually_hide_label: true,
|
||||
autofocus: true,
|
||||
filter_input_arguments: { autofocus: true,
|
||||
data: { test_selector: "op-header-project-select--search" } },
|
||||
no_results_node_arguments: { data: { test_selector: "op-header-project-select--no-results" },
|
||||
label: I18n.t("filterable_tree_view.no_results_text") }
|
||||
|
||||
@@ -52,14 +52,6 @@ module Wikis
|
||||
filter_mode_control_arguments: { hidden: true },
|
||||
filter_input_arguments: {
|
||||
placeholder: I18n.t("wikis.link_existing_wiki_page_form.placeholder"),
|
||||
# every other property is just refilling the default values,
|
||||
# as those are not merged into custom arguments
|
||||
name: :filter,
|
||||
label: I18n.t(:button_filter),
|
||||
type: :search,
|
||||
leading_visual: { icon: :search },
|
||||
visually_hide_label: true,
|
||||
show_clear_button: true
|
||||
},
|
||||
include_sub_items_check_box_arguments: { hidden: true },
|
||||
no_results_node_arguments: { label: I18n.t("wikis.link_existing_wiki_page_form.no_results") }
|
||||
|
||||
@@ -43,14 +43,6 @@ module Wikis
|
||||
filter_mode_control_arguments: { hidden: true },
|
||||
filter_input_arguments: {
|
||||
placeholder: I18n.t("wikis.link_existing_wiki_page_form.placeholder"),
|
||||
# every other property is just refilling the default values,
|
||||
# as those are not merged into custom arguments
|
||||
name: :filter,
|
||||
label: I18n.t(:button_filter),
|
||||
type: :search,
|
||||
leading_visual: { icon: :search },
|
||||
visually_hide_label: true,
|
||||
show_clear_button: true
|
||||
},
|
||||
include_sub_items_check_box_arguments: { hidden: true },
|
||||
no_results_node_arguments: { label: I18n.t("wikis.link_existing_wiki_page_form.no_results") }
|
||||
|
||||
Reference in New Issue
Block a user