Skip to content

Commit

Permalink
[Instrument] ControlpanelDeleteInstrumentData bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laemtl committed Apr 26, 2023
1 parent 9941176 commit 7f1616d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/instruments/php/module.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class Module extends \Module
public function handle(ServerRequestInterface $request) : ResponseInterface
{
$resp = parent::handle($request);

if ($resp->getStatusCode() != 404) {
return $resp;
}
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const lorisModules = {
imaging_qc: ['imagingQCIndex'],
server_processes_manager: ['server_processes_managerIndex'],
statistics: ['WidgetIndex'],
instruments: ['CandidateInstrumentList'],
instruments: ['CandidateInstrumentList', 'ControlpanelDeleteInstrumentData'],
candidate_profile: ['CandidateInfo'],
api_docs: ['swagger-ui_custom'],
};
Expand Down

0 comments on commit 7f1616d

Please sign in to comment.