mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
fix(ui): comment out server utilities as none are active features. (fixes #639)
This commit is contained in:
parent
b427907f34
commit
edcd8f0f98
1 changed files with 4 additions and 5 deletions
|
@ -4,9 +4,8 @@ import {
|
||||||
MainSide,
|
MainSide,
|
||||||
Title,
|
Title,
|
||||||
} from '@roleypoly/design-system/molecules/server-utilities/ServerUtilities.styled';
|
} from '@roleypoly/design-system/molecules/server-utilities/ServerUtilities.styled';
|
||||||
import { hasFeature } from '@roleypoly/misc-utils/hasFeature';
|
import { GuildData } from '@roleypoly/types';
|
||||||
import { Features, GuildData } from '@roleypoly/types';
|
import { GoChevronRight } from 'react-icons/go';
|
||||||
import { GoArchive, GoChevronRight, GoReport, GoShield } from 'react-icons/go';
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
guildData: GuildData;
|
guildData: GuildData;
|
||||||
|
@ -30,7 +29,7 @@ const Utility = (props: {
|
||||||
|
|
||||||
export const ServerUtilities = (props: Props) => (
|
export const ServerUtilities = (props: Props) => (
|
||||||
<div>
|
<div>
|
||||||
{hasFeature(props.guildData.features, Features.AccessControl) && (
|
{/* {hasFeature(props.guildData.features, Features.AccessControl) && (
|
||||||
<Utility
|
<Utility
|
||||||
title={
|
title={
|
||||||
<>
|
<>
|
||||||
|
@ -65,6 +64,6 @@ export const ServerUtilities = (props: Props) => (
|
||||||
description="Export or delete all of your Roleypoly data."
|
description="Export or delete all of your Roleypoly data."
|
||||||
link={`/s/${props.guildData.id}/edit/data`}
|
link={`/s/${props.guildData.id}/edit/data`}
|
||||||
/>
|
/>
|
||||||
)}
|
)} */}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue