Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

[Bug Report] Subscription Manager always shows "No subscriptions found." even with subscriptions added #329

@melyux

Description

@melyux

Describe the bug
The Subscription Manager always shows "No subscriptions found." despite subscriptions existing and working.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Download > Plugins, create a subscription, confirm that the subscriptions.json file exists under the plugin.
  2. Optionally, wait until a new chapter comes out and see that it downloads automatically.
  3. Go to Download > Subscription Manager.
  4. See "No subscriptions found.":

image

Expected behavior
I assume there's normally a table to view and edit existing subscriptions.

Environment (please complete the following information):

  • OS: Docker
  • Browser: Safari, Chrome
  • Mango Version: Latest (0.27.0)

Docker (if you are running Mango in a Docker container)

  • The docker-compose.yml file you are using, or your .env file.
  mango:
    image: hkalexling/mango
    container_name: mango
    expose:
      - 9000
    ports:
      - 9000:9000
    volumes:
      - ./mango/data:/root/mango
      - ./mango/config:/root/.config/mango

Additional context
Add any other context about the problem here. Add screenshots if applicable.
(See screenshot above)

I can see that the call to <base>/api/admin/plugin/subscriptions?plugin=<plugin> is returning the correct data. I see <p x-show="subscriptions.length === 0" class="uk-text-meta">No subscriptions found.</p> has the subscriptions.length === 0 condition on it (not familiar with the framework here), but I can see from a call to the API myself that subscriptions does not have a zero length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions