Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Common/ImportDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import React, { useState, useRef } from 'react'
import { useNavigate } from 'react-router-dom'

import { useClient } from 'cozy-client'
import AppIcon from 'cozy-ui/transpiled/react/AppIcon'
import AppLinker from 'cozy-ui/transpiled/react/AppLinker'
import Button from 'cozy-ui/transpiled/react/Buttons'
import Icon from 'cozy-ui/transpiled/react/Icon'
import BottomIcon from 'cozy-ui/transpiled/react/Icons/Bottom'
import StoreIcon from 'cozy-ui/transpiled/react/Icons/Store'
import TeamIcon from 'cozy-ui/transpiled/react/Icons/Team'
import Link from 'cozy-ui/transpiled/react/Link'
import ActionMenu, {
Expand Down Expand Up @@ -50,7 +50,7 @@ const ImportDropdown = () => {
<AppLinker app={{ slug: 'store' }} href={getFilteredStoreUrl(client)}>
{({ onClick, href }) => (
<ActionMenuItem
left={<AppIcon app="store" className="u-h-1 u-w-1" />}
left={<Icon icon={StoreIcon} className="u-h-1 u-w-1" />}
Copy link
Copy Markdown
Member

@zatteo zatteo Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JF-Cozy does <AppIcon/> mean that it is loading icon from "store" app but in stable release?

Copy link
Copy Markdown
Contributor

@JF-Cozy JF-Cozy Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/cozy/cozy-ui/blob/master/react/AppIcon/index.jsx#L53 then https://github.com/cozy/cozy-client/blob/master/packages/cozy-stack-client/src/getIconURL.js#L144 so from stack (by default) or registry.

So I think we have to dig in these directions and not changing anything here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok right, so it should be automatically fixed when updating store to stable release. I suggest we keep this PR until monday if we need it.

onClick={onClick}
>
<Link
Expand Down
Loading