mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
set dashdot data to the new type
This commit is contained in:
@@ -28,7 +28,14 @@ const definition = defineWidget({
|
||||
graphs: {
|
||||
type: 'multi-select',
|
||||
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: {
|
||||
type: 'text',
|
||||
|
||||
Reference in New Issue
Block a user