SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
140 stars 84 forks source link

Bolos clear on page refresh #1344

Closed TheConwayy closed 1 year ago

TheConwayy commented 1 year ago

What version of Node.js are you using?

18.12.1

What version of npm are you using?

8.19.2

What operating system are you using?

Ubuntu

What version of SnailyCAD are you currently using?

1.40.0 - a0521a6

Describe the Bug

When a BOLO is created (either on the LEO or Dispatch end), it will show up on both ends, as normal.

However, when you refresh the page and/or log in and out, the bolo is no longer there. The same happens when you interact with anything else on the page

Expected Behavior

It is expected that the BOLO remain on the screen for the entirety of the session, and when you first log in, not just have it disappear after any other interaction with the page.

To Reproduce

Create a BOLO, and then refresh the page and/or interact with anything else on the page

casperiv0 commented 1 year ago

Do created citizens show on the page? If not, you have something incorrectly configured in your .env file. I’m currently not able to test, but will do when home

TheConwayy commented 1 year ago

Do created citizens show on the page? If not, you have something incorrectly configured in your .env file. I’m currently not able to test, but will do when home

Yes, when you go to create a civilian bolo, created civilians show.

casperiv0 commented 1 year ago

Okay, I’ll try reproduce when I’m home.

casperiv0 commented 1 year ago

Alright, fixed now!