Hide manga title copy button when unsupported
This commit is contained in:
@@ -43,6 +43,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|||||||
- (**Download**) Respect manga chapter filters on bulk manga download in the library
|
- (**Download**) Respect manga chapter filters on bulk manga download in the library
|
||||||
- (**History**) Show only the last read chapter per manga
|
- (**History**) Show only the last read chapter per manga
|
||||||
- (**Updates**) Show only the first unread chapter per manga per day
|
- (**Updates**) Show only the first unread chapter per manga per day
|
||||||
|
- (**Manga**) Hide details page title copy button in unsupported environments (secure context (https, localhost) required)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -261,11 +261,13 @@ export const MangaDetails = ({
|
|||||||
{manga.title}
|
{manga.title}
|
||||||
</Typography>
|
</Typography>
|
||||||
</SearchLink>
|
</SearchLink>
|
||||||
<CustomTooltip title={t`Copy`}>
|
{!!navigator.clipboard && (
|
||||||
<IconButton onClick={copyTitle} color="inherit">
|
<CustomTooltip title={t`Copy`}>
|
||||||
<ContentCopyIcon fontSize="small" />
|
<IconButton onClick={copyTitle} color="inherit">
|
||||||
</IconButton>
|
<ContentCopyIcon fontSize="small" />
|
||||||
</CustomTooltip>
|
</IconButton>
|
||||||
|
</CustomTooltip>
|
||||||
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
{manga.author && (
|
{manga.author && (
|
||||||
<Metadata
|
<Metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user