studio icon indicating copy to clipboard operation
studio copied to clipboard

Studio runs table query twice after data modification

Open devklepacki opened this issue 2 years ago • 4 comments

Bug description

Prisma Studio seems to be running a query that refreshes data after modification twice. At least this is what the browser's console is printing. It's not happening when data is just refreshed using the Refresh button. The second query run is exactly the same as the first one.

How to reproduce

  1. Modify/Delete a row using Prisma Studio
  2. Take a look at the browser's console log
  3. The same Running Query will be shown twice

Expected behavior

Prisma Studio should not run a table query twice when data is changed

Prisma information

--

Environment & setup

  • OS: MacOs
  • Browser: Chrome
  • Database: MySQL

Screenshot of page where the problem happened (if applicable)

image image

Prisma logs

No response

devklepacki avatar Feb 08 '23 13:02 devklepacki