set emptyLink class in Componentphp  when there is no link