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