Add button for full reindex, fixes #403

This commit is contained in:
2023-10-20 20:47:15 -04:00
committed by simon987
parent 6ade3395d5
commit ffa7f2ae84
4 changed files with 27 additions and 7 deletions

View File

@@ -89,9 +89,12 @@ class Sist2AdminApi {
/**
* @param {string} name
* @param {bool} full
*/
runJob(name) {
return axios.get(`${this.baseUrl}/api/job/${name}/run`);
runJob(name, full) {
return axios.get(`${this.baseUrl}/api/job/${name}/run`, {
params: {full}
});
}
/**