From f70ee353e6b8f1254cc2b5660debf5daf927ed7c Mon Sep 17 00:00:00 2001 From: Ionys320 <9364594+Ionys320@users.noreply.github.com> Date: Mon, 20 May 2024 14:30:57 +0200 Subject: [PATCH] feat(metric): Use `MetricViewEnum` for period selection --- resources/views/components/metric.blade.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/views/components/metric.blade.php b/resources/views/components/metric.blade.php index f979548b..38a18e94 100644 --- a/resources/views/components/metric.blade.php +++ b/resources/views/components/metric.blade.php @@ -2,6 +2,8 @@ 'metric', ]) +@use('\Cachet\Enums\MetricViewEnum') +
@@ -19,10 +21,9 @@