Skip to content

Commit

Permalink
Remove obsolete entry from group_overview
Browse files Browse the repository at this point in the history
child_groups was removed in bd79969
but the CSS and the db query were left.

Related issue: https://progress.opensuse.org/issues/152939
  • Loading branch information
perlpunk committed Jan 17, 2024
1 parent 9686aae commit a970633
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
19 changes: 0 additions & 19 deletions assets/stylesheets/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,25 +124,6 @@ h2 .fa {
text-align: right;
}

// parent group overview
* + #child_groups {
border-top: 1px solid #e3e3e3;
margin-top: 20px;
padding-top: 20px;
}
#child_groups {
h3 {
font-size: 150%;
margin-top: 0px;
}
ul {
margin: 0px;
padding: 0px;
list-style: none;
font-size: 120%;
}
}

// center comments pagination
.comments-pagination {
display: block;
Expand Down
2 changes: 0 additions & 2 deletions lib/OpenQA/WebAPI/Controller/Main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ sub _group_overview ($self, $resultset, $template) {
comment_put_action => 'apiv1_put_' . $comment_context_route_suffix,
comment_delete_action => 'apiv1_delete_' . $comment_context_route_suffix
);
$self->stash(child_groups => [$group->children->all]) if $is_parent_group;

$self->respond_to(
json => sub ($self) {
@comments = map($_->hash, @comments);
Expand Down

0 comments on commit a970633

Please sign in to comment.