Orcpub / orcpub

Code for Dungeon Master's Vault Community Edition
https://www.dungeonmastersvault.com/
Eclipse Public License 2.0
208 stars 104 forks source link

Mobile version of "view character" page missing spells #600

Closed Dreherjd closed 8 months ago

Dreherjd commented 8 months ago

Describe the bug The desktop version of the view character page shows my spells, however, the mobile version only shows maybe half of the spells my character knows. It also affects generating a character sheet, as it pulls the spells from what's in the spell list. So generating a sheet from the desktop version works just fine, whereas generating a sheet from a mobile device gives an incomplete spell list.

To Reproduce

Steps to reproduce the behavior: 1) view a character with spells on the desktop version, and note the spells they have access to. 2) open the mobile version of the same character, note that it only shows half the spells the character has access to.

Expected behavior

The mobile version of the site should list the same spells as the desktop version.

Screenshots

Desktop screenshot: desktopCharSheet Mobile Screenshot: Screenshot (Oct 25, 2023 11_19_11 AM)

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Add any other context about the problem here.

datdamnzotz commented 8 months ago

WitchBolt and Lighting lure aren't srd. Make sure you load the same orcpub file you used in your browser to create that character. You need to load it on your phone as well.

Dreherjd commented 8 months ago

That did it, thanks!