We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenta0995bf commitcbef909Copy full SHA for cbef909
site/src/modules/dashboard/Navbar/NavbarView.stories.tsx
@@ -10,12 +10,8 @@ import type { Meta, StoryObj } from "@storybook/react-vite";
10
import{userEvent,within}from"storybook/test";
11
import{NavbarView}from"./NavbarView";
12
13
-constfilter={
14
-user:{
15
-label:MockUserOwner.username,
16
-value:MockUserOwner.username,
17
-avatarUrl:MockUserOwner.avatar_url,
18
-},
+consttasksFilter={
+username:MockUserOwner.username,
19
};
20
21
constmeta:Meta<typeofNavbarView>={
@@ -25,7 +21,7 @@ const meta: Meta<typeof NavbarView> = {
25
layout:"fullscreen",
26
22
queries:[
27
23
{
28
-key:["tasks",filter],
24
+key:["tasks",tasksFilter],
29
data:[],
30
},
31
],
@@ -105,7 +101,7 @@ export const IdleTasks: Story = {
105
101
parameters:{
106
102
107
103
108
104
109
data:[
110
111
prompt:"Task 1",