Added version 1 fields to settings page

This commit is contained in:
Henry Whitaker
2021-04-11 09:13:13 +01:00
parent f809f816c1
commit 48fbbc3713
5 changed files with 240 additions and 3 deletions

View File

@@ -259,7 +259,29 @@ export default class SettingsIndex extends Component {
classes: 'mr-2'
},
]
],
influxdb: [
{
obj: data.influx_db_enabled,
type: 'checkbox'
},
{
obj: data.influx_db_host,
type: 'text'
},
{
obj: data.influx_db_port,
type: 'number'
},
{
obj: data.influx_db_username,
type: 'text'
},
{
obj: data.influx_db_password,
type: 'password'
}
],
};
}