+
{DEFAULT_GLOBAL_VIEWS_LIST.map((tab) => (
{
))}
-
+ {isAuthorizedUser && (
+
+ )}
>
);
diff --git a/web/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx
index c987408b0..2a98c75e4 100644
--- a/web/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx
+++ b/web/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx
@@ -103,13 +103,17 @@ const ProjectCyclesPage: NextPageWithLayout = observer(() => {
description:
"A sprint, an iteration, and or any other term you use for weekly or fortnightly tracking of work is a cycle.",
}}
- primaryButton={{
- icon:
,
- text: "Set your first cycle",
- onClick: () => {
- setCreateModal(true);
- },
- }}
+ primaryButton={
+ isEditingAllowed
+ ? {
+ icon:
,
+ text: "Set your first cycle",
+ onClick: () => {
+ setCreateModal(true);
+ },
+ }
+ : null
+ }
disabled={!isEditingAllowed}
/>