Add the function of project delete when state=0 and not linked