[COMPONENT][Group] Restore settings functionality

This commit is contained in:
Diogo Peralta Cordeiro 2022-02-15 17:26:12 +00:00
parent 5b94973079
commit 40590bbd11
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class Group extends Component
public function onPopulateSettingsTabs(Request $request, string $section, array &$tabs): bool
{
if ($section === 'profile' && $request->get('_route') === 'group_settings') {
$group_id = $request->get('id');
$group_id = (int)$request->get('id');
$group = Actor::getById($group_id);
$tabs[] = [
'title' => 'Self tags',

View File

@ -1,6 +1,6 @@
{% extends 'base.html.twig' %}
{% import 'settings/macros.html.twig' as macros %}
{% import 'cards/macros/settings.html.twig' as macros %}
{% block stylesheets %}
{{ parent() }}