add refresh flag to getdata funcions
This commit is contained in:
parent
b272aa298a
commit
23cc1a1f7a
14 changed files with 34 additions and 18 deletions
|
|
@ -22,6 +22,13 @@ const init = () => {
|
|||
['us', 'US'],
|
||||
['si', 'Metric'],
|
||||
]);
|
||||
settings.refreshTime = new Setting('refreshTime', 'Refresh Time', 'select', 30_000, null, false, [
|
||||
[30_000, 'TESTING'],
|
||||
[300_000, '5 minutes'],
|
||||
[600_000, '10 minutes'],
|
||||
[900_000, '15 minutes'],
|
||||
[1_800_000, '30 minutes'],
|
||||
]);
|
||||
|
||||
// generate html objects
|
||||
const settingHtml = Object.values(settings).map((d) => d.generate());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue