mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-30 04:32:53 +00:00
add meta titles to alert pages
This commit is contained in:
@@ -18,6 +18,7 @@ import { and, eq, isNotNull, or, inArray, sql } from "drizzle-orm";
|
||||
import { decrypt } from "@server/lib/crypto";
|
||||
import logger from "@server/logger";
|
||||
import cache from "#private/lib/cache";
|
||||
import { build } from "@server/build";
|
||||
|
||||
// Define the return type for clarity and type safety
|
||||
export type CertificateResult = {
|
||||
|
||||
13
src/app/[orgId]/settings/alerting/[ruleId]/layout.tsx
Normal file
13
src/app/[orgId]/settings/alerting/[ruleId]/layout.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Edit Alert"
|
||||
};
|
||||
|
||||
export default function EditAlertRuleLayout({
|
||||
children
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
13
src/app/[orgId]/settings/alerting/create/layout.tsx
Normal file
13
src/app/[orgId]/settings/alerting/create/layout.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Alert"
|
||||
};
|
||||
|
||||
export default function CreateAlertRuleLayout({
|
||||
children
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
Reference in New Issue
Block a user