Skip to content

Commit

Permalink
Merge pull request #860 from petio-team/ui-card-render-hotfix
Browse files Browse the repository at this point in the history
fix(web): Catch TV card not render issue
  • Loading branch information
AshDyson authored Jun 11, 2024
2 parents 507361d + 003f801 commit 0143e82
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Petio 0.5.5
# Petio 0.5.6

<p align="center">
<img src="https://img.shields.io/github/package-json/v/petio-team/petio/master?label=Latest">
Expand All @@ -25,6 +25,7 @@ This application can be installed to run in docker or as a standalone binary tha

Binary (executable file) guides
**note:** this method requires a local mongodb instance to be installed

<ul>
<li><a target="_blank" href="https://docs.petio.tv/install-guides/windows">Windows</a> </li>
<li><a target="_blank" href="https://docs.petio.tv/install-guides/linux">Linux</a> </li>
Expand Down
2 changes: 1 addition & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio-admin",
"version": "0.5.5-alpha",
"version": "0.5.6-alpha",
"private": true,
"homepage": ".",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio-rest",
"version": "0.5.5-alpha",
"version": "0.5.6-alpha",
"description": "Rest Api for Petio",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio",
"version": "0.5.5-alpha",
"version": "0.5.6-alpha",
"private": true,
"homepage": ".",
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/TvCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class TvCard extends React.Component {
}

inView() {
if (!this.card.current) return;
const left = this.card.current.getBoundingClientRect().left;
if (left <= this.props.width * 2 || this.props.view) {
this.setState({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio",
"version": "0.5.5-alpha",
"version": "0.5.6-alpha",
"description": "Request Platform for Plex",
"main": "petio.js",
"author": "",
Expand Down

0 comments on commit 0143e82

Please sign in to comment.