💄 Styling changes for medias and AppShelf

This commit is contained in:
ajnart
2022-06-06 23:56:33 +02:00
parent bf7b9637f7
commit 6067c5dfcf
2 changed files with 8 additions and 4 deletions

View File

@@ -134,11 +134,15 @@ const AppShelf = (props: any) => {
onChange={(idx) => settoggledCategories(idx)}
>
{categoryList.map((category, idx) => (
<Accordion.Item label={category}>{item(category)}</Accordion.Item>
<Accordion.Item key={category} label={category}>
{item(category)}
</Accordion.Item>
))}
{/* Return the item for all services without category */}
{noCategory && noCategory.length > 0 ? (
<Accordion.Item label="Other">{item()}</Accordion.Item>
<Accordion.Item key="Other" label="Other">
{item()}
</Accordion.Item>
) : null}
</Accordion>
<ModuleWrapper mt="xl" module={DownloadsModule} />