fix: ended still didn't show up well
All checks were successful
repod / xml (push) Successful in 26s
repod / php (push) Successful in 54s
repod / nodejs (push) Successful in 2m4s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-20 09:58:08 +01:00
parent 2934935886
commit ccb1c72ad3
5 changed files with 20 additions and 19 deletions

View File

@ -3,7 +3,7 @@
"description": "🔊 Browse, manage and listen to podcasts", "description": "🔊 Browse, manage and listen to podcasts",
"type": "project", "type": "project",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"version": "1.4.1", "version": "1.4.2",
"require-dev": { "require-dev": {
"nextcloud/ocp": "^28.0.1", "nextcloud/ocp": "^28.0.1",
"psalm/phar": "^5.20.0", "psalm/phar": "^5.20.0",

14
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "7469155e9e67959892b895589f48d6f9", "content-hash": "6c6423b79afd724cd8ebd22d02a3000e",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {
@ -94,16 +94,16 @@
}, },
{ {
"name": "php-cs-fixer/shim", "name": "php-cs-fixer/shim",
"version": "v3.47.1", "version": "v3.48.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHP-CS-Fixer/shim.git", "url": "https://github.com/PHP-CS-Fixer/shim.git",
"reference": "851a945ee0ae0f9d08c426ec2b1702bb34bd4ea2" "reference": "bf0c65f1b2d943306b3574d42ae806578ce9cc3e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/851a945ee0ae0f9d08c426ec2b1702bb34bd4ea2", "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/bf0c65f1b2d943306b3574d42ae806578ce9cc3e",
"reference": "851a945ee0ae0f9d08c426ec2b1702bb34bd4ea2", "reference": "bf0c65f1b2d943306b3574d42ae806578ce9cc3e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -140,9 +140,9 @@
"description": "A tool to automatically fix PHP code style", "description": "A tool to automatically fix PHP code style",
"support": { "support": {
"issues": "https://github.com/PHP-CS-Fixer/shim/issues", "issues": "https://github.com/PHP-CS-Fixer/shim/issues",
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.47.1" "source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.48.0"
}, },
"time": "2024-01-16T18:54:50+00:00" "time": "2024-01-19T21:45:09+00:00"
}, },
{ {
"name": "psalm/phar", "name": "psalm/phar",

12
package-lock.json generated
View File

@ -1,16 +1,16 @@
{ {
"name": "repod", "name": "repod",
"version": "1.4.1", "version": "1.4.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "repod", "name": "repod",
"version": "1.4.1", "version": "1.4.2",
"license": "agpl", "license": "agpl",
"dependencies": { "dependencies": {
"@nextcloud/axios": "^2.4.0", "@nextcloud/axios": "^2.4.0",
"@nextcloud/dialogs": "^5.0.3", "@nextcloud/dialogs": "^5.1.0",
"@nextcloud/initial-state": "^2.1.0", "@nextcloud/initial-state": "^2.1.0",
"@nextcloud/l10n": "^2.2.0", "@nextcloud/l10n": "^2.2.0",
"@nextcloud/moment": "1.2.2", "@nextcloud/moment": "1.2.2",
@ -7184,9 +7184,9 @@
"peer": true "peer": true
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.4.639", "version": "1.4.640",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.639.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.640.tgz",
"integrity": "sha512-CkKf3ZUVZchr+zDpAlNLEEy2NJJ9T64ULWaDgy3THXXlPVPkLu3VOs9Bac44nebVtdwl2geSj6AxTtGDOxoXhg==" "integrity": "sha512-z/6oZ/Muqk4BaE7P69bXhUhpJbUM9ZJeka43ZwxsDshKtePns4mhBlh8bU5+yrnOnz3fhG82XLzGUXazOmsWnA=="
}, },
"node_modules/elliptic": { "node_modules/elliptic": {
"version": "6.5.4", "version": "6.5.4",

View File

@ -1,7 +1,7 @@
{ {
"name": "repod", "name": "repod",
"description": "🔊 Browse, manage and listen to podcasts", "description": "🔊 Browse, manage and listen to podcasts",
"version": "1.4.1", "version": "1.4.2",
"bugs": { "bugs": {
"url": "https://git.crystalyx.net/Xefir/RePod/issues" "url": "https://git.crystalyx.net/Xefir/RePod/issues"
}, },
@ -19,7 +19,7 @@
}, },
"dependencies": { "dependencies": {
"@nextcloud/axios": "^2.4.0", "@nextcloud/axios": "^2.4.0",
"@nextcloud/dialogs": "^5.0.3", "@nextcloud/dialogs": "^5.1.0",
"@nextcloud/initial-state": "^2.1.0", "@nextcloud/initial-state": "^2.1.0",
"@nextcloud/l10n": "^2.2.0", "@nextcloud/l10n": "^2.2.0",
"@nextcloud/moment": "1.2.2", "@nextcloud/moment": "1.2.2",

View File

@ -101,10 +101,11 @@ export default {
methods: { methods: {
moment, moment,
hasEnded(episode) { hasEnded(episode) {
return episode.action return episode.action && (episode.action.action === 'DELETE' || (
&& episode.action.position !== 0 episode.action.position > 0
&& episode.action.total !== 0 && episode.action.total > 0
&& episode.action.position >= episode.action.total && episode.action.position >= episode.action.total
))
}, },
isCurrentEpisode(episode) { isCurrentEpisode(episode) {
return this.currentEpisode && this.currentEpisode.url === episode.url return this.currentEpisode && this.currentEpisode.url === episode.url