[COMPONENT][Group] Restore settings functionality
This commit is contained in:
parent
5b94973079
commit
40590bbd11
|
@ -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',
|
||||
|
|
|
@ -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() }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user