Заменил в разделе "Обзор" кнопку "Техническое обслуживание" (которая пока никуда не ведет) на "Видео"

This commit is contained in:
Первов Артем
2026-07-05 07:50:06 +03:00
parent 5a81a9b78b
commit 772ba60647
2 changed files with 7 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ export function EdgeDetailPage() {
latestUpdatedAt={latestUpdatedAt}
onOpenArchive={() => navigate(`${edgePath}/archive`)}
onOpenIndicators={() => navigate(`${edgePath}/indicators`)}
onOpenVideo={() => navigate(`${edgePath}/video`)}
/>
</EdgePageLayout>
);

View File

@@ -1,4 +1,4 @@
import { Activity, BarChart3, CalendarClock } from 'lucide-react';
import { Activity, BarChart3, Video } from 'lucide-react';
import { formatDateTime } from '../../../utils/format';
type OverviewViewProps = {
@@ -8,6 +8,7 @@ type OverviewViewProps = {
totalTags: number;
onOpenArchive: () => void;
onOpenIndicators: () => void;
onOpenVideo: () => void;
};
export function OverviewView({
@@ -17,6 +18,7 @@ export function OverviewView({
totalTags,
onOpenArchive,
onOpenIndicators,
onOpenVideo
}: OverviewViewProps) {
return (
<section className="detail-overview">
@@ -53,9 +55,9 @@ export function OverviewView({
<BarChart3 size={18} />
Архив и график
</button>
<button type="button">
<CalendarClock size={18} />
Техническое обслуживание
<button type="button" onClick={onOpenVideo}>
<Video size={18} />
Видео
</button>
</div>
</section>