[COMPONENTS][Group] Create a group route added, template polished

[COMPONENTS][Circle] Removed any Group related route from shouldAddToRightPanel event
[CARDS][Profile] Block should now allow inline long nicknames to not
break
This commit is contained in:
2022-01-17 21:33:38 +00:00
committed by Hugo Sales
parent 692ecf1c99
commit c028a601a5
7 changed files with 201 additions and 109 deletions

View File

@@ -192,7 +192,7 @@ class Circle extends Component
*/
protected function shouldAddToRightPanel(Actor $user, $vars, Request $request): bool
{
return \in_array($vars['path'], ['actor_view_nickname', 'actor_view_id', 'group_actor_view_nickname', 'group_actor_view_id']);
return \in_array($vars['path'], ['actor_view_nickname', 'actor_view_id']);
}
protected function getCollectionsBy(Actor $owner, ?array $vars = null, bool $ids_only = false): array