We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59bfc3e commit b0f3011Copy full SHA for b0f3011
components/dashboard/src/Insights.tsx
@@ -75,11 +75,16 @@ export const Insights = () => {
75
76
{errorMessage && (
77
<Alert type="error" className="mt-4">
78
- {isLackingPermissions
79
- ? "You don't have permission to access this organization's insights."
80
- : errorMessage instanceof Error
81
- ? errorMessage.message
82
- : "An error occurred."}
+ {isLackingPermissions ? (
+ <>
+ You don't have <span className="font-medium">Owner</span> permissions to access this
+ organization's insights.
+ </>
83
+ ) : errorMessage instanceof Error ? (
84
+ errorMessage.message
85
+ ) : (
86
+ "An error occurred."
87
+ )}
88
</Alert>
89
)}
90
0 commit comments