I created a new object called Main Task and created a lookup on Task(Activity) to make a relationship between Task(Child) and Main Task(Parent).I added task related list(Sub Tasks) into Main task page layout but I can't see the new task button and view, edit actions in Task related list in lightning view, but I can see all these actions in classic view.I tried below steps, but couldn't fix the issue.
- Ticked new task button from page layout-> related list ->wrench icon
- Lightning app builder -> related list - enhanced list, show list view action bar - ticked