Skip to content

Commit d2a01c0

Browse files
committed
fix: templates
1 parent 200aa14 commit d2a01c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/dashboard/app/(main)/websites/[id]/flags/_components/flag-sheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export function FlagSheet({
204204
name: template.name,
205205
description: template.description,
206206
type: template.type,
207-
status: "inactive",
207+
status: "active",
208208
defaultValue: template.defaultValue,
209209
rolloutPercentage:
210210
template.type === "rollout" || template.type === "boolean"

apps/dashboard/app/(main)/websites/[id]/flags/templates/_data/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const HARDCODED_TEMPLATES: FlagTemplate[] = [
88
"Start with 10% of users and gradually increase. Perfect for safely releasing new features to production.",
99
category: "rollout",
1010
icon: "rocket",
11-
type: "boolean",
11+
type: "rollout",
1212
defaultValue: false,
1313
rolloutPercentage: 10,
1414
isBuiltIn: true,

0 commit comments

Comments
 (0)