mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-23 13:02:34 +01:00
cached response for source list iconUrl
This commit is contained in:
@@ -43,7 +43,7 @@ interface IProps {
|
||||
export default function ExtensionCard(props: IProps) {
|
||||
const {
|
||||
extension: {
|
||||
name, lang, versionName, installed, apkName,
|
||||
name, lang, versionName, installed, apkName, iconUrl,
|
||||
},
|
||||
} = props;
|
||||
const [installedState, setInstalledState] = useState<string>((installed ? 'uninstall' : 'install'));
|
||||
@@ -81,7 +81,7 @@ export default function ExtensionCard(props: IProps) {
|
||||
variant="rounded"
|
||||
className={classes.icon}
|
||||
alt={name}
|
||||
src={`http://127.0.0.1:4567/api/v1/extension/icon/${apkName}`}
|
||||
src={iconUrl}
|
||||
/>
|
||||
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
<Typography variant="h5" component="h2">
|
||||
|
||||
Reference in New Issue
Block a user