fix undefined strings (#3300)

This commit is contained in:
Gabriele Pappalardo 2020-01-23 15:59:46 +01:00 committed by Emanuele Faranda
parent b689f15f79
commit 5c404456b2
3 changed files with 9 additions and 5 deletions

View file

@ -1166,7 +1166,7 @@ const create_enabled_button = (row_data) => {
if (!has_all_hook && hasConfigDialog(row_data)) $button.css('visibility', 'hidden');
$button.text(`${i18n.enable || 'Enable'}`);
$button.text(`${i18n.enable}`);
$button.addClass('badge-success');
}
@ -1174,7 +1174,7 @@ const create_enabled_button = (row_data) => {
if (row_data.enabled_hooks.length < 1) $button.css('visibility', 'hidden');
$button.text(`${i18n.disable || 'Disable'}`);
$button.text(`${i18n.disable}`);
$button.addClass('badge-danger');
}