Conditionally show button

You need to change the name of the database from “myCollection” to the actual name of your database.