Bug 42190: Remove the 'Configure' button
Remove the "Configure" if the table does not have module, page and table defined. Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
97469d1a0d
commit
934e5429f4
|
|
@ -951,7 +951,13 @@ function _dt_buttons(params) {
|
|||
});
|
||||
}
|
||||
|
||||
if (table_settings && CAN_user_parameters_manage_column_config) {
|
||||
if (
|
||||
table_settings &&
|
||||
table_settings.module &&
|
||||
table_settings.page &&
|
||||
table_settings.table &&
|
||||
CAN_user_parameters_manage_column_config
|
||||
) {
|
||||
let href =
|
||||
"/cgi-bin/koha/admin/columns_settings.pl?module=%s&page=%s&table=%s".format(
|
||||
table_settings.module,
|
||||
|
|
|
|||
Loading…
Reference in New Issue