fix: Make timer button show only to admins (#2143)

This commit is contained in:
SeDemal
2024-09-29 22:24:21 +02:00
committed by GitHub
parent 4bba516fdf
commit d4765c1e7f

View File

@@ -279,6 +279,7 @@ function DnsHoleControlsWidgetTile({ widget }: DnsHoleControlsWidgetProps) {
{t(dnsHole.status)}
</Badge>
</UnstyledButton>
{enableControls && (
<ActionIcon
size={20}
radius="xl"
@@ -291,6 +292,7 @@ function DnsHoleControlsWidgetTile({ widget }: DnsHoleControlsWidgetProps) {
>
<IconClockPause size={20} color="red" />
</ActionIcon>
)}
</Flex>
</Stack>
</Group>