Dependency+Logging cleanup

Fixed dependency errors
Removed leftover logging commands from testing
Updated screenshots
This commit is contained in:
Thegan Govender
2023-07-01 23:33:28 +02:00
parent 2e91d00211
commit f5eb983ab1
10 changed files with 5 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
<p align="center"> <p align="center">
**Jellystat** is a free and open source Statistics App for Jellyfin! **Jellystat** is a free and open source Statistics App for Jellyfin! (This project is still in development - expect some weirdness)
## Current Features ## Current Features
@@ -40,6 +40,7 @@ https://hub.docker.com/r/cyfershepard/jellystat
<img src="./screenshots/Users.PNG"> <img src="./screenshots/Users.PNG">
<img src="./screenshots/Activity.PNG"> <img src="./screenshots/Activity.PNG">
<img src="./screenshots/Libraries.PNG"> <img src="./screenshots/Libraries.PNG">
<img src="./screenshots/settings.PNG.PNG">
## Support ## Support

View File

@@ -267,10 +267,7 @@ router.get("/keys", async (req,res) => {
}); });
router.delete("/keys", async (req,res) => { router.delete("/keys", async (req,res) => {
console.log('Delete API Key'); const { key } = req.body;
console.log(req);
console.log(res);
const { key } = req.body;
if(!key) if(!key)
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 517 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 KiB

After

Width:  |  Height:  |  Size: 525 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 59 KiB

BIN
screenshots/settings.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -48,7 +48,7 @@ function RecentlyAdded(props) {
const intervalId = setInterval(fetchData, 60000 * 5); const intervalId = setInterval(fetchData, 60000 * 5);
return () => clearInterval(intervalId); return () => clearInterval(intervalId);
}, [data, props.LibraryId]); }, [data, props.LibraryId,token]);
if (!data) { if (!data) {

View File

@@ -96,8 +96,6 @@ useEffect(() => {
}, },
}); });
setKeys(apiKeyData.data); setKeys(apiKeyData.data);
console.log(apiKeyData);
console.log('KeyData');
} catch (error) { } catch (error) {
console.log(error); console.log(error);
} }
@@ -107,7 +105,7 @@ useEffect(() => {
const intervalId = setInterval(fetchData, 1000 * 5); const intervalId = setInterval(fetchData, 1000 * 5);
return () => clearInterval(intervalId); return () => clearInterval(intervalId);
}, [token]); }, []);
const handleNextPageClick = () => { const handleNextPageClick = () => {