mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 01:16:18 -05:00
Removing debug logging.
This commit is contained in:
parent
36aeef9091
commit
052c3a0e19
1 changed files with 0 additions and 4 deletions
|
|
@ -563,13 +563,11 @@ export function CardPoster({to, file}) {
|
|||
|
||||
if (to) {
|
||||
// Link within this App.
|
||||
console.debug(`${file['primary_path']} link with poster`);
|
||||
return <Link to={to} style={style}>
|
||||
{image}
|
||||
</Link>
|
||||
} else {
|
||||
// Preview the file.
|
||||
console.debug(`${file['primary_path']} preview with poster`);
|
||||
return <div style={style}>
|
||||
<PreviewLink file={file}>
|
||||
{image}
|
||||
|
|
@ -580,7 +578,6 @@ export function CardPoster({to, file}) {
|
|||
// FileGroup has no poster.
|
||||
if (!to || (to.startsWith('/media/') || to.startsWith('/download/'))) {
|
||||
// "to" is a downloadable file outside the app, preview the file.
|
||||
console.debug(`${file['primary_path']} preview no poster`);
|
||||
return <PreviewLink file={file}>
|
||||
<CardIcon>
|
||||
{imageLabel}
|
||||
|
|
@ -589,7 +586,6 @@ export function CardPoster({to, file}) {
|
|||
</PreviewLink>
|
||||
} else if (!posterPath && to) {
|
||||
// Link to the full page in this App.
|
||||
console.debug(`${file['primary_path']} link no poster`);
|
||||
return <Link to={to}>
|
||||
<CardIcon onClick={() => navigate(to)}>
|
||||
{imageLabel}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue