mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 08:25:47 +01:00
set dashdot data to the new type
This commit is contained in:
@@ -28,7 +28,14 @@ const definition = defineWidget({
|
|||||||
graphs: {
|
graphs: {
|
||||||
type: 'multi-select',
|
type: 'multi-select',
|
||||||
defaultValue: ['cpu', 'memory'],
|
defaultValue: ['cpu', 'memory'],
|
||||||
data: ['cpu', 'memory', 'storage', 'network', 'gpu'],
|
data: [
|
||||||
|
// ['cpu', 'memory', 'storage', 'network', 'gpu'], into { label, value }
|
||||||
|
{ label: 'CPU', value: 'cpu' },
|
||||||
|
{ label: 'Memory', value: 'memory' },
|
||||||
|
{ label: 'Storage', value: 'storage' },
|
||||||
|
{ label: 'Network', value: 'network' },
|
||||||
|
{ label: 'GPU', value: 'gpu' },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
type: 'text',
|
type: 'text',
|
||||||
|
|||||||
Reference in New Issue
Block a user