Skip to content

Commit

Permalink
refactor: minor fix to naming
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed May 13, 2024
1 parent 8e4c426 commit be7174e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion invenio_jobs/administration/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class JobsListView(AdminResourceListView):
}


class JobDetailView(AdminResourceDetailView):
class JobsDetailView(AdminResourceDetailView):
"""Configuration for Jobs detail view."""

url = "/jobs/<pid_value>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ import { Button, Icon } from "semantic-ui-react";
import { i18next } from "@translations/invenio_app_rdm/i18next";

export class SystemJobActions extends Component {
// constructor(props) {
// super(props);
// }

handleAction = async (action) => {
const actionConfig = {
restore: {
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ invenio_assets.webpack =
jobs = invenio_jobs.webpack:administration
invenio_administration.views =
jobs_list = invenio_jobs.administration.jobs:JobsListView
jobs_details = invenio_jobs.administration.jobs:JobDetailView
jobs_details = invenio_jobs.administration.jobs:JobsDetailView
invenio_base.api_apps =
jobs = invenio_jobs:InvenioJobs
invenio_base.api_blueprints =
Expand Down

0 comments on commit be7174e

Please sign in to comment.