Skip to content

Commit 57d0b58

Browse files
authored
Merge pull request #639 from trycompai/claudio/comp-126-fix-ids-on-framework-editor-data-to-use-proper-ids-instead
[dev] [claudfuen] claudio/comp-126-fix-ids-on-framework-editor-data-to-use-proper-ids-instead
2 parents b6e8c11 + 557e81b commit 57d0b58

File tree

4 files changed

+8
-306
lines changed

4 files changed

+8
-306
lines changed

apps/framework-editor/app/actions/admin/reset-data-action.ts

Lines changed: 0 additions & 207 deletions
This file was deleted.

apps/framework-editor/app/components/Toolbar.tsx

Lines changed: 0 additions & 95 deletions
This file was deleted.

apps/framework-editor/app/layout.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { Toaster } from '@comp/ui/toaster';
22
import type { Metadata } from 'next';
3+
import { NuqsAdapter } from 'nuqs/adapters/next/app';
34
import { type ReactNode } from 'react';
45
import { MenuTabs } from './components/MenuTabs';
5-
import { NuqsAdapter } from 'nuqs/adapters/next/app';
6-
import Toolbar from './components/Toolbar';
76

87
import "@comp/ui/globals.css";
8+
import 'react-datasheet-grid/dist/style.css';
99
import '../styles/globals.css';
10-
import 'react-datasheet-grid/dist/style.css'
1110

1211
export const metadata: Metadata = {
1312
title: 'Comp AI - Framework Editor',
@@ -24,7 +23,6 @@ export default function RootLayout({
2423
<body>
2524
<NuqsAdapter>
2625
<div className="flex flex-col w-screen p-4 gap-2 h-full">
27-
<Toolbar/>
2826
<MenuTabs />
2927
{children}
3028
<Toaster />
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- Update all references to SOC 2 framework IDs to the new ID in framework editor tables
2+
-- Set new ID arbitrarily to frk_682734f304cbbfdb3a9d4f44
3+
4+
UPDATE "FrameworkEditorFramework"
5+
SET "id" = 'frk_682734f304cbbfdb3a9d4f44'
6+
WHERE "id" = 'soc2';

0 commit comments

Comments
 (0)