Query will now only be deleted if it does not belong to a dashboard
you can now delete queries from /queries with the delete button in the column. This can only be seen if you have the "edit_query" permission
If the query is in use and you have the "edit_query" permission you will no longer be able to delete the query unless it is removed from all dashboards and so no longer in use
removed unnceesary console.logs
Can no longer access deleted queries if you know their URL. It will return a blank page