Skip to content

Commit

Permalink
feat: User can create model (currently they cant) (#549)
Browse files Browse the repository at this point in the history
Because

- instill-core user should be able to create model in model-hub

This commit

- User can create model (currently they cant)
  • Loading branch information
EiffelFly authored Sep 22, 2023
1 parent 879ee17 commit 8e1b89e
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 41 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"@code-hike/mdx": "^0.7.3",
"@dnd-kit/core": "^6.0.8",
"@hookform/resolvers": "^3.1.1",
"@instill-ai/design-system": "^0.49.0",
"@instill-ai/design-system": "^0.52.0",
"@instill-ai/design-tokens": "^0.3.2",
"@instill-ai/toolkit": "^0.67.1",
"@instill-ai/toolkit": "^0.67.3",
"@radix-ui/react-checkbox": "^1.0.3",
"@radix-ui/react-collapsible": "^1.0.2",
"@radix-ui/react-dialog": "^1.0.3",
Expand Down
136 changes: 98 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/pages/model-hub/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const CreateModelPage: FC & {
router={router}
accessToken={null}
enableQuery={true}
disabledCreateModel={false}
/>
</>
);
Expand Down
1 change: 0 additions & 1 deletion src/pages/pipelines/create.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { GetServerSideProps } from "next";
import { FC, ReactElement } from "react";
import { env } from "@instill-ai/toolkit";
import { Logo } from "@instill-ai/design-system";

import { Topbar, Sidebar, PageBase } from "@/components";
Expand Down

0 comments on commit 8e1b89e

Please sign in to comment.