We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b03a1de commit e1c7961Copy full SHA for e1c7961
frontend/src/pages/landing/Landing.tsx
@@ -19,6 +19,7 @@ import {
19
canMarkAsReadyToReview,
20
canMarkListAsFinal,
21
canReviewDestructionList,
22
+ canStartDestructionList,
23
canTriggerDestruction,
24
canUpdateDestructionList,
25
canViewDestructionList,
@@ -240,6 +241,7 @@ export const Landing = () => {
240
241
),
242
size: "xs",
243
variant: "primary",
244
+ disabled: !canStartDestructionList(user),
245
onClick: () => navigate("/destruction-lists/create"),
246
},
247
],
0 commit comments