Delete viz not working from project page

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