mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
maint: formatting
This commit is contained in:
parent
49d4c2bfd4
commit
31af37467c
@ -31,22 +31,22 @@ class TimeseriesGraph extends HTMLElement {
|
||||
|
||||
attributeChanged(name, _oldValue, newValue) {
|
||||
switch (name) {
|
||||
case 'uri':
|
||||
case 'uri':
|
||||
this.#uri = newValue;
|
||||
break;
|
||||
case 'width':
|
||||
case 'width':
|
||||
this.#width = newValue;
|
||||
break;
|
||||
case 'height':
|
||||
case 'height':
|
||||
this.#height = newValue;
|
||||
break;
|
||||
case 'poll-seconds':
|
||||
case 'poll-seconds':
|
||||
this.#pollSeconds = newValue;
|
||||
break;
|
||||
case 'label':
|
||||
case 'label':
|
||||
this.#label = newValue;
|
||||
break;
|
||||
default: // do nothing;
|
||||
default: // do nothing;
|
||||
break;
|
||||
}
|
||||
this.resetInterval();
|
||||
|
Loading…
x
Reference in New Issue
Block a user