mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
Change the loading overloay to the refresh button
This commit is contained in:
@@ -110,7 +110,6 @@ function RssTile({ widget }: RssTileProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack h="100%">
|
<Stack h="100%">
|
||||||
<LoadingOverlay visible={isFetching} />
|
|
||||||
<ScrollArea className="scroll-area-w100" w="100%" mt="sm" mb="sm">
|
<ScrollArea className="scroll-area-w100" w="100%" mt="sm" mb="sm">
|
||||||
{data.map((feed, index) => (
|
{data.map((feed, index) => (
|
||||||
<Stack w="100%" spacing="xs">
|
<Stack w="100%" spacing="xs">
|
||||||
@@ -183,7 +182,7 @@ function RssTile({ widget }: RssTileProps) {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<IconRefresh />
|
{isFetching ? <Loader /> : <IconRefresh />}
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user