mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 06:08:48 +00:00
Fix glances fs metric for disks with colon (#2170)
This commit is contained in:
parent
7ea1d0dd47
commit
596e5c9b84
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export default function Component({ service }) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { widget } = service;
|
const { widget } = service;
|
||||||
const { chart } = widget;
|
const { chart } = widget;
|
||||||
const [, fsName] = widget.metric.split(':');
|
const [, fsName] = widget.metric.split('fs:');
|
||||||
|
|
||||||
const { data, error } = useWidgetAPI(widget, 'fs', {
|
const { data, error } = useWidgetAPI(widget, 'fs', {
|
||||||
refreshInterval: 1000,
|
refreshInterval: 1000,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue