Thomas Lamprecht
75728a889b
ui: window/FW Log Rate: eslint fixes and code cleanup/refactoring/modernize
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 16:52:49 +02:00
Thomas Lamprecht
f6710aac38
ui: eslint: fix trailing comma and comma related whitespaces errors
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00
Thomas Lamprecht
3bbce3b8cd
drop jslint lines
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:11:47 +02:00
Thomas Lamprecht
f6632d26b2
ui: FW log ratelimit: avoid access on possible undefined rate
...
This is an optional parameter and needs to be guarded, a simple
"truthy" check is enough, as eithers it's missing or a more complex
string (i.e., it cannot be '0' or the like)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 10:31:02 +02:00
Thomas Lamprecht
671f470e09
ui: FW log ratelimit: fix default value
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 10:30:34 +02:00
Thomas Lamprecht
df93368f74
ui: FW options: do not draw border arount rate limit separator
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 09:48:37 +02:00
Christian Ebner
40120a3120
Allow to set the firewall log rate limit and burst from the UI
...
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-01 14:59:16 +02:00