mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-14 21:42:16 +00:00
reworked localization of collapsed column headings by modifying internal tabulator logic with custom module
This commit is contained in:
@@ -9,7 +9,7 @@ export default class MenuExtensionModule extends Menu {
|
||||
}
|
||||
|
||||
loadMenu(e, component, menu, parentEl, parentPopup){
|
||||
const isLocalizationEnabled = !!component.table.options.locale;
|
||||
const isLocalizationEnabled = component.table.options.locale && component.table.options.locale !== "default";
|
||||
const menuItemTranslations = component.table.getLang().menuItems;
|
||||
if (isLocalizationEnabled && menuItemTranslations) {
|
||||
menu = menu.map((menuItem) => {
|
||||
|
||||
Reference in New Issue
Block a user