refactor: remove redundant custom fields button for non-admin users
This commit is contained in:
@@ -3111,17 +3111,6 @@ export default function BoardDetailPage() {
|
|||||||
>
|
>
|
||||||
<Activity className="h-4 w-4" />
|
<Activity className="h-4 w-4" />
|
||||||
</Button>
|
</Button>
|
||||||
{isOrgAdmin ? (
|
|
||||||
<Button
|
|
||||||
variant="outline"
|
|
||||||
onClick={() => router.push("/custom-fields")}
|
|
||||||
className="h-9 px-3"
|
|
||||||
aria-label="Board custom fields"
|
|
||||||
title="Manage custom fields"
|
|
||||||
>
|
|
||||||
Fields
|
|
||||||
</Button>
|
|
||||||
) : null}
|
|
||||||
{isOrgAdmin ? (
|
{isOrgAdmin ? (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user