mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Fix glances fs metric for disks with colon (#2170)
This commit is contained in:
@@ -10,7 +10,7 @@ export default function Component({ service }) {
|
||||
const { t } = useTranslation();
|
||||
const { widget } = service;
|
||||
const { chart } = widget;
|
||||
const [, fsName] = widget.metric.split(':');
|
||||
const [, fsName] = widget.metric.split('fs:');
|
||||
|
||||
const { data, error } = useWidgetAPI(widget, 'fs', {
|
||||
refreshInterval: 1000,
|
||||
|
||||
Reference in New Issue
Block a user