Skip to content

Commit d77f581

Browse files
committed
chore: hide workspace creation UI for users without permission
1 parent ff77fe9 commit d77f581

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/src/pages/TemplatesPage/TemplatesPageView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import {
3939
} from "components/TableLoader/TableLoader";
4040
import { useClickableTableRow } from "hooks/useClickableTableRow";
4141
import { PlusIcon } from "lucide-react";
42+
import type { OrganizationPermissions } from "modules/management/organizationPermissions";
4243
import { linkToTemplate, useLinks } from "modules/navigation";
4344
import type { OrganizationPermissions } from "modules/permissions/organizations";
4445
import type { FC } from "react";

0 commit comments

Comments
 (0)