Skip to content

Commit 5f78f57

Browse files
committed
fix: add migration, PR comments
1 parent 30b3624 commit 5f78f57

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Nothing to restore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE users SET theme_preference = '' WHERE theme_preference = 'darkBlue';

site/src/pages/UsersPage/storybookData/users.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,22 @@ export const MockUsers: User[] = [
336336
},
337337
],
338338
},
339+
{
340+
id: "59da0bfe-9c99-47fa-a563-f9fdb18449d0",
341+
created_at: "2022-08-15T08:30:10.343828Z",
342+
updated_at: "2024-09-05T12:27:22.098297Z",
343+
last_seen_at: "2024-09-05T12:27:22.098297Z",
344+
status: "active",
345+
login_type: "oidc",
346+
theme_preference: "dark",
347+
organization_ids: ["703f72a1-76f6-4f89-9de6-8a3989693fe5"],
348+
roles: [
349+
{
350+
name: "owner",
351+
display_name: "Owner",
352+
},
353+
],
354+
},
339355
{
340356
id: "12b03f43-1bb7-4fca-967a-585c97f31682",
341357
created_at: "2022-08-10T15:35:20.553581Z",

site/src/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ export const DEFAULT_THEME = "dark";
3333
const theme = {
3434
dark,
3535
light,
36-
} satisfies Record<"dark" | "light", Theme>;
36+
} satisfies Record<string, Theme>;
3737

3838
export default theme;

0 commit comments

Comments
 (0)