mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
fix undefined strings (#3300)
This commit is contained in:
parent
b689f15f79
commit
5c404456b2
3 changed files with 9 additions and 5 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue