Add contextual help links to admin pages
This commit is contained in:
@@ -51,6 +51,7 @@ import { withAlpha } from './components/colors';
|
||||
import { useAdminTheme } from './theme';
|
||||
import { resolveEngagementMode } from '../lib/events';
|
||||
import { useAuth } from '../auth/context';
|
||||
import { ContextHelpLink } from './components/ContextHelpLink';
|
||||
|
||||
function allowPermission(permissions: string[], permission: string): boolean {
|
||||
if (permissions.includes('*') || permissions.includes(permission)) {
|
||||
@@ -1162,6 +1163,9 @@ export default function MobileEventTasksPage() {
|
||||
alignItems="stretch"
|
||||
width="100%"
|
||||
>
|
||||
<XStack justifyContent="flex-end" marginBottom="$2">
|
||||
<ContextHelpLink slug="event-prep-checklist" />
|
||||
</XStack>
|
||||
<Tabs.List
|
||||
borderRadius={16}
|
||||
borderWidth={1}
|
||||
|
||||
Reference in New Issue
Block a user