Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Merge requests
!232
Fix angular dependency injection scheme
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix angular dependency injection scheme
reports-hotfix
into
master
Overview
5
Commits
2
Pipelines
2
Changes
3
Merged
Jaden DIEFENBAUGH
requested to merge
reports-hotfix
into
master
7 years ago
Overview
5
Commits
2
Pipelines
2
Changes
3
Expand
@philip.abbet
could you try this on staging?
Edited
7 years ago
by
Samuel GAIST
0
0
Merge request reports
Compare
master
version 1
f75559a1
7 years ago
master (base)
and
latest version
latest version
798e5688
2 commits,
7 years ago
version 1
f75559a1
1 commit,
7 years ago
3 files
+
11
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
beat/web/reports/static/reports/app/factories/experimentFactory.js
+
2
−
2
Options
@@ -20,7 +20,7 @@
* with the BEAT platform. If not, see http://www.gnu.org/licenses/.
*/
//This factory retrieves data from the REST API and associates it with the $scope
angular
.
module
(
'
reportApp
'
).
factory
(
'
experimentFactory
'
,
'
UrlService
'
,
function
(
$http
,
$q
,
UrlService
){
angular
.
module
(
'
reportApp
'
).
factory
(
'
experimentFactory
'
,
[
'
$http
'
,
'
UrlService
'
,
function
(
$http
,
UrlService
){
let
urlBase
=
'
/api/v1/experiments
'
;
let
prefix
=
new
URL
(
UrlService
.
getPrefix
()).
pathname
;
if
(
prefix
.
endsWith
(
'
/
'
))
@@ -51,4 +51,4 @@ angular.module('reportApp').factory('experimentFactory', 'UrlService', function(
});
}
};
});
}
]
);
Loading