Delete vis not working from project page

Delete vis wasn't working from the project page because of an undefined variable