Skip to content
Snippets Groups Projects
Commit 50c94af2 authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

correctly fetch anon compile rst url

parent 953e4d64
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -66,7 +66,7 @@ angular.module('reportApp').factory('UrlService', [function(){
const getDatabaseUrl = (databaseName) => `${databasePath()}${databaseName}/`;
const getApiUrl = (apiSubpath) => `${apiPath()}${apiSubpath}`;
const getCompileRstUrl = () => `${getApiUrl(`${reportByName}rst/`)}`;
const getCompileRstUrl = () => `${getApiUrl(`${reportByName || reportByNumber}rst/`)}`;
const getRemoveExperimentUrl = () => `${getApiUrl(`${reportByName}remove/`)}`;
const getByNamePath = () => reportByName;
const getByNumberPath = () => reportByNumber;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment