mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
/boards/[id] is now view mode (read-only) with an edit button. /boards/[id]/edit is edit mode with save and cancel buttons. Save navigates back to view, cancel discards changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
320 B
TypeScript
12 lines
320 B
TypeScript
import type { Metadata } from 'next';
|
|
import { BoardPage } from '../BoardPage';
|
|
|
|
export default async function ({ params }: { params: Promise<{ boardId: string }> }) {
|
|
const { boardId } = await params;
|
|
|
|
return <BoardPage boardId={boardId} editing />;
|
|
}
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Edit Board',
|
|
};
|